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
This commit is contained in:
Artem Popov 2016-09-20 19:52:23 +03:00 committed by Mykyta Biliavskyi
parent e2875cefc4
commit 132ae9683c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}