actually find the extension

SVN revision: 29356
This commit is contained in:
rephorm 2007-04-04 19:12:42 +00:00 committed by rephorm
parent a9daf7dd89
commit 30c129cc88
1 changed files with 1 additions and 0 deletions

View File

@ -671,6 +671,7 @@ efreet_icon_directory_cache(Efreet_Icon_Theme *theme,
name_strs[0] = name;
/* Drop the extension to cache icon name */
ext = strrchr(name, '.');
if (!ext)
{
FREE(name);