From: Sebastian Dransfeld Date: Thu, 21 Nov 2013 11:24:41 +0000 (+0100) Subject: efreet: Check for missing icon cache file X-Git-Tag: v1.8.0-beta1~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c48321417022f8a11d9817182b716ea912200550;p=platform%2Fupstream%2Fefl.git efreet: Check for missing icon cache file Fixes T196 --- diff --git a/src/bin/efreet/efreet_icon_cache_create.c b/src/bin/efreet/efreet_icon_cache_create.c index 98e2651..3b22e0c 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)))) {