return -1 if group is not valid

SVN revision: 31837
This commit is contained in:
doursse 2007-09-28 15:25:50 +00:00 committed by doursse
parent 64f0ccb945
commit ce6f933d50
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ ecore_path_group_new(const char *group_name)
Ecore_Path_Group *last;
group = __ecore_path_group_find(group_name);
if (group)
if (!group)
return -1;
last = ecore_list_last_goto(group_list);