summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArtem Popov <artem.popov@samsung.com>2016-09-20 19:52:23 +0300
committerMykyta Biliavskyi <m.biliavskyi@samsung.com>2016-09-20 19:52:23 +0300
commit132ae9683c242b695d1bb3050c09f83386d0667d (patch)
tree1249a583373279ff3326d7691a78c771af21b1ee /src
parente2875cefc49768f919919fbfa478f81570168688 (diff)
ecore_file: Fix improper way of comparing in ecore_file_path_dir_exists @fix
Summary: There is wrong comparing while using strcmp function. Should be inverted. Reviewers: cedric, raster, NikaWhite Reviewed By: NikaWhite Subscribers: cedric, NikaWhite, jpeg Differential Revision: https://phab.enlightenment.org/D4291
Diffstat (limited to 'src')
-rw-r--r--src/lib/ecore_file/ecore_file_path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_file/ecore_file_path.c b/src/lib/ecore_file/ecore_file_path.c
index a368cf35fb..71fdb680ec 100644
--- a/src/lib/ecore_file/ecore_file_path.c
+++ b/src/lib/ecore_file/ecore_file_path.c
@@ -97,7 +97,7 @@ ecore_file_path_dir_exists(const char *in_dir)
97 if (!__ecore_file_path_bin) return EINA_FALSE; 97 if (!__ecore_file_path_bin) return EINA_FALSE;
98 EINA_LIST_FOREACH(__ecore_file_path_bin, l, dir) 98 EINA_LIST_FOREACH(__ecore_file_path_bin, l, dir)
99 { 99 {
100 if (strcmp(dir, in_dir)) 100 if (!strcmp(dir, in_dir))
101 return EINA_TRUE; 101 return EINA_TRUE;
102 } 102 }
103 103