parent
3232c1d19b
commit
035e68b394
|
@ -911,7 +911,7 @@ ecore_desktop_paths_to_hash(const char *paths)
|
|||
p++;
|
||||
}
|
||||
*pp = '\0';
|
||||
ecore_hash_set(result, strdup(buf), strdup(buf));
|
||||
if (*buf) ecore_hash_set(result, strdup(buf), strdup(buf));
|
||||
if (*p) p++;
|
||||
else p = NULL;
|
||||
}
|
||||
|
@ -963,7 +963,7 @@ ecore_desktop_paths_to_list(const char *paths)
|
|||
p++;
|
||||
}
|
||||
*pp = '\0';
|
||||
ecore_list_append(result, strdup(buf));
|
||||
if (*buf) ecore_list_append(result, strdup(buf));
|
||||
if (*p) p++;
|
||||
else p = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue