forked from enlightenment/efl
efreet: Fix last fix, only access theme inside if
SVN revision: 74879
This commit is contained in:
parent
38da638442
commit
9b8a67bb31
|
@ -893,8 +893,11 @@ main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
if (!strncmp(keys[i], "__efreet", 8)) continue;
|
if (!strncmp(keys[i], "__efreet", 8)) continue;
|
||||||
theme = eet_data_read(theme_ef, theme_edd, keys[i]);
|
theme = eet_data_read(theme_ef, theme_edd, keys[i]);
|
||||||
theme->valid = 0;
|
if (theme)
|
||||||
if (theme) eina_hash_direct_add(icon_themes, theme->theme.name.internal, theme);
|
{
|
||||||
|
theme->valid = 0;
|
||||||
|
eina_hash_direct_add(icon_themes, theme->theme.name.internal, theme);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
free(keys);
|
free(keys);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue