do not use the path function here.

This commit is contained in:
Klaas Freitag 2015-07-03 16:23:52 +02:00
parent a280007dc2
commit d303df7fa0

View file

@ -64,7 +64,7 @@ int csync_fnmatch(__const char *__pattern, __const char *__name, int __flags) {
(void) __flags; (void) __flags;
name = c_utf8_path_to_locale(__name); name = c_utf8_string_to_locale(__name);
pat = c_utf8_string_to_locale(__pattern); pat = c_utf8_string_to_locale(__pattern);
match = PathMatchSpecW(name, pat); match = PathMatchSpecW(name, pat);