add null theme check

SVN revision: 35658
This commit is contained in:
Carsten Haitzler 2008-08-25 09:14:13 +00:00
parent 67ce8bcabc
commit 0e1ee5edb7
1 changed files with 1 additions and 1 deletions

View File

@ -313,7 +313,7 @@ static Efreet_Icon_Theme *
efreet_icon_find_theme_check(const char *theme_name)
{
Efreet_Icon_Theme *theme = NULL;
theme = efreet_icon_theme_find(theme_name);
if (theme_name) theme = efreet_icon_theme_find(theme_name);
if (!theme)
{
theme = efreet_icon_theme_new();