From: Enlightenment S. <no-...@en...> - 2009-10-13 19:20:33
|
Log: Fix bug causing bogus image cache directory files to be written. Author: kwo Date: 2009-10-13 12:20:22 -0700 (Tue, 13 Oct 2009) New Revision: 43062 Modified: trunk/E16/e/src/menus-misc.c Modified: trunk/E16/e/src/menus-misc.c =================================================================== --- trunk/E16/e/src/menus-misc.c 2009-10-13 18:27:35 UTC (rev 43061) +++ trunk/E16/e/src/menus-misc.c 2009-10-13 19:20:22 UTC (rev 43062) @@ -111,11 +111,12 @@ if (stat(dir, &st) < 0) return 1; + Esnprintf(cs, sizeof(cs), "%s/cached/img/%s", + EDirUserCache(), _dircache_filename(ss, sizeof(ss), &st)); + if (Mode.backgrounds.force_scan) goto skip_dir_cache; - Esnprintf(cs, sizeof(cs), "%s/cached/img/%s", - EDirUserCache(), _dircache_filename(ss, sizeof(ss), &st)); if (exists(cs)) { /* cached dir listing - use it */ |