Skip to content
Permalink
Browse files
Fixed logic bug (thanks, Sam!).
  • Loading branch information
icculus committed Jun 21, 2012
1 parent 9159717 commit 2a4d891ac516b5bfe4e49d940e5d338764a97cbc
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/platform_posix.c
@@ -349,7 +349,7 @@ int __PHYSFS_platformStat(const char *filename, int *exists, PHYSFS_Stat *st)

if (lstat(filename, &statbuf) == -1)
{
*exists = (errno == ENOENT);
*exists = (errno != ENOENT);
BAIL_MACRO(errcodeFromErrno(), 0);
} /* if */

0 comments on commit 2a4d891

Please sign in to comment.