forked from enlightenment/efl
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:
parent
e2875cefc4
commit
132ae9683c
|
@ -97,7 +97,7 @@ ecore_file_path_dir_exists(const char *in_dir)
|
||||||
if (!__ecore_file_path_bin) return EINA_FALSE;
|
if (!__ecore_file_path_bin) return EINA_FALSE;
|
||||||
EINA_LIST_FOREACH(__ecore_file_path_bin, l, dir)
|
EINA_LIST_FOREACH(__ecore_file_path_bin, l, dir)
|
||||||
{
|
{
|
||||||
if (strcmp(dir, in_dir))
|
if (!strcmp(dir, in_dir))
|
||||||
return EINA_TRUE;
|
return EINA_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue