summaryrefslogtreecommitdiff
path: root/legacy/efreet/src/lib/efreet_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/efreet/src/lib/efreet_cache.c')
-rw-r--r--legacy/efreet/src/lib/efreet_cache.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/legacy/efreet/src/lib/efreet_cache.c b/legacy/efreet/src/lib/efreet_cache.c
index 57127cd60d..a54dce6c74 100644
--- a/legacy/efreet/src/lib/efreet_cache.c
+++ b/legacy/efreet/src/lib/efreet_cache.c
@@ -865,8 +865,7 @@ efreet_cache_desktop_add(Efreet_Desktop *desktop)
865 for (i = 0; i < arr->array_count; i++) 865 for (i = 0; i < arr->array_count; i++)
866 { 866 {
867 /* Check if we already have this dir in cache */ 867 /* Check if we already have this dir in cache */
868 /* TODO: Need to check if p is a subdir */ 868 if (!strncmp(p, arr->array[i], strlen(arr->array[i])))
869 if (!strcmp(p, arr->array[i]))
870 return; 869 return;
871 } 870 }
872 } 871 }