fnmatch() is a unix function, stupid!

This commit is contained in:
Yevgen Muntyan 2010-11-25 22:23:24 -08:00
parent bdbb3c0c8d
commit 90c3df48c9

View File

@ -24,5 +24,5 @@ moo_file_fnmatch (GFile *file,
filename = g_file_get_path (file);
moo_return_val_if_fail (filename != NULL, FALSE);
return fnmatch (glob, filename, 0);
return fnmatch (glob, filename, 0) == 0;
}