summaryrefslogtreecommitdiff
path: root/src/bin/efreet
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 /src/bin/efreet
parent86c08e6985d5b213c6227d7cb7bc73177aade66e (diff)
efreet: Check for missing icon cache file
Fixes T196
Diffstat (limited to 'src/bin/efreet')
-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)
896 icon_ef = eet_open(efreet_icon_cache_file(theme->theme.name.internal), EET_FILE_MODE_READ_WRITE); 896 icon_ef = eet_open(efreet_icon_cache_file(theme->theme.name.internal), EET_FILE_MODE_READ_WRITE);
897 if (!icon_ef) goto on_error_efreet; 897 if (!icon_ef) goto on_error_efreet;
898 icon_version = eet_data_read(icon_ef, efreet_version_edd(), EFREET_CACHE_VERSION); 898 icon_version = eet_data_read(icon_ef, efreet_version_edd(), EFREET_CACHE_VERSION);
899 if (theme->changed || (icon_version && 899 if (theme->changed || !icon_version || (icon_version &&
900 ((icon_version->major != EFREET_ICON_CACHE_MAJOR) || 900 ((icon_version->major != EFREET_ICON_CACHE_MAJOR) ||
901 (icon_version->minor != EFREET_ICON_CACHE_MINOR)))) 901 (icon_version->minor != EFREET_ICON_CACHE_MINOR))))
902 { 902 {