False isn't true...

master
Yevgen Muntyan 2015-12-31 04:53:33 -08:00
parent 7eb8c396de
commit bb6a0e9829
2 changed files with 2 additions and 2 deletions

View File

@ -262,7 +262,7 @@ init_queue (void)
queue.io = mgw_io_channel_unix_new (queue.pipe_out);
#endif
if (queue.io)
if (!queue.io)
{
g_critical ("g_io_channel_new failed");
goto out;

View File

@ -367,7 +367,7 @@ _moo_win32_fnmatch (const char *pattern,
const char *string,
int flags)
{
g_return_val_if_fail (flags != 0, -1);
g_return_val_if_fail (flags == 0, -1);
return _moo_glob_match_simple (pattern, string) ? 0 : 1;
}