if file open, return true

SVN revision: 55407
This commit is contained in:
Sebastian Dransfeld 2010-12-09 12:19:23 +00:00
parent fb77905c83
commit 4e9fa3d6f7
1 changed files with 1 additions and 0 deletions

View File

@ -745,6 +745,7 @@ efreet_cache_check(Eet_File **ef, const char *path, int major)
Efreet_Cache_Version *version;
if (*ef == NON_EXISTING) return EINA_FALSE;
if (*ef) return EINA_TRUE;
if (!*ef)
*ef = eet_open(path, EET_FILE_MODE_READ);
if (!*ef)