edit-util: use path_equal

This commit is contained in:
Mike Yuan
2023-03-15 19:45:33 +08:00
parent d6c623e884
commit 00b6baf2be
+1 -1
View File
@@ -50,7 +50,7 @@ bool edit_files_contains(const EditFileContext *context, const char *path) {
assert(path);
FOREACH_ARRAY(i, context->files, context->n_files)
if (streq(i->path, path))
if (path_equal(i->path, path))
return true;
return false;