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
Change-Id: Icc5c17e6fd60b9137086fd93412c76e5a97a1f55
Signed-off-by: Mykyta Biliavskyi <m.biliavskyi@samsung.com>
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;
}