fnmatch() is a unix function, stupid!
This commit is contained in:
parent
bdbb3c0c8d
commit
90c3df48c9
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user