Skip to content

Commit

Permalink
Fixed logic error.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 31, 2009
1 parent e4b31c9 commit b050e32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform_windows.c
Expand Up @@ -929,7 +929,7 @@ boolean MojoPlatform_exists(const char *dir, const char *fname)
} // else

UTF8_TO_UNICODE_STACK_MACRO(wpath, fullpath);
retval = (pGetFileAttributesW(wpath) == INVALID_FILE_ATTRIBUTES);
retval = (pGetFileAttributesW(wpath) != INVALID_FILE_ATTRIBUTES);
smallFree(wpath);
free(fullpath);

Expand Down

0 comments on commit b050e32

Please sign in to comment.