aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2013-11-21 12:24:41 +0100
committerSebastian Dransfeld <sd@tango.flipp.net>2013-11-21 12:25:26 +0100
commitc48321417022f8a11d9817182b716ea912200550 (patch)
tree04457d5a0f82ecd3a365738b31a917d11b32e2c4
parentRevert "evas: this headers order are seriously insane..." (diff)
downloadefl-c48321417022f8a11d9817182b716ea912200550.tar.gz
efreet: Check for missing icon cache file
-rw-r--r--src/bin/efreet/efreet_icon_cache_create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/efreet/efreet_icon_cache_create.c b/src/bin/efreet/efreet_icon_cache_create.c
index 98e265177f..3b22e0cc00 100644
--- a/src/bin/efreet/efreet_icon_cache_create.c
+++ b/src/bin/efreet/efreet_icon_cache_create.c
@@ -896,7 +896,7 @@ main(int argc, char **argv)
icon_ef = eet_open(efreet_icon_cache_file(theme->theme.name.internal), EET_FILE_MODE_READ_WRITE);
if (!icon_ef) goto on_error_efreet;
icon_version = eet_data_read(icon_ef, efreet_version_edd(), EFREET_CACHE_VERSION);
- if (theme->changed || (icon_version &&
+ if (theme->changed || !icon_version || (icon_version &&
((icon_version->major != EFREET_ICON_CACHE_MAJOR) ||
(icon_version->minor != EFREET_ICON_CACHE_MINOR))))
{