aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_file/ecore_file_path.c
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/lib/ecore_file/ecore_file_path.c
parenteina_cpu, evas: Remove _eina_cpu_fast_core_get, don't set render thread affinity (diff)
downloadefl-132ae9683c242b695d1bb3050c09f83386d0667d.tar.gz
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 '')
-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)
if (!__ecore_file_path_bin) return EINA_FALSE;
EINA_LIST_FOREACH(__ecore_file_path_bin, l, dir)
{
- if (strcmp(dir, in_dir))
+ if (!strcmp(dir, in_dir))
return EINA_TRUE;
}