Skip to content

Commit

Permalink
Fixed logic bug (thanks, Dan!).
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Feb 24, 2010
1 parent a4a7f88 commit a4a72df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/CREDITS.txt
Expand Up @@ -109,6 +109,9 @@ PHYSFS_stat() API:
Christoph Nelles
Indy Sams

Bug fixes:
Dan Olson

Other stuff:
Your name here! Patches go to icculus@icculus.org ...

Expand Down
2 changes: 1 addition & 1 deletion extras/ignorecase.c
Expand Up @@ -108,7 +108,7 @@ int PHYSFSEXT_locateCorrectCase(char *buf)
} /* while */

/* check final element... */
return locateOneElement(buf ? 0 : -1);
return locateOneElement(buf) ? 0 : -1;
} /* PHYSFSEXT_locateCorrectCase */


Expand Down

0 comments on commit a4a72df

Please sign in to comment.