parent
8e6a393cf9
commit
5f6ba77546
|
@ -314,6 +314,8 @@ efreet_icon_remove_extension(const char *icon)
|
||||||
Eina_List *l;
|
Eina_List *l;
|
||||||
char *tmp = NULL, *ext = NULL;
|
char *tmp = NULL, *ext = NULL;
|
||||||
|
|
||||||
|
if (!icon) return NULL;
|
||||||
|
|
||||||
tmp = strdup(icon);
|
tmp = strdup(icon);
|
||||||
ext = strrchr(tmp, '.');
|
ext = strrchr(tmp, '.');
|
||||||
if (ext)
|
if (ext)
|
||||||
|
|
Loading…
Reference in New Issue