aboutsummaryrefslogtreecommitdiff
path: root/meta-efl/recipes-efl/efl/efreet/changeset_trunk_r57435.patch
blob: f652af216461db65ad83449643e78d9c5162c761 (plain)
1
2
3
4
5
6
7
8
9
10
11
Index: efreet/src/lib/efreet_desktop.c
===================================================================
--- efreet/src/lib/efreet_desktop.c	(revision 57257)
+++ efreet/src/lib/efreet_desktop.c	(revision 57435)
@@ -1206,5 +1206,5 @@
         case ECORE_FILE_EVENT_MODIFIED:
             ext = strrchr(path, '.');
-            if (!strcmp(ext, ".desktop") || !strcmp(ext, ".directory"))
+            if (ext && (!strcmp(ext, ".desktop") || !strcmp(ext, ".directory")))
                 efreet_cache_desktop_update();
             break;