Fixed logic bug (thanks, Dan!).
--- a/docs/CREDITS.txt Thu Feb 18 09:34:08 2010 -0500
+++ b/docs/CREDITS.txt Tue Feb 23 21:58:49 2010 -0500
@@ -109,6 +109,9 @@
Christoph Nelles
Indy Sams
+Bug fixes:
+ Dan Olson
+
Other stuff:
Your name here! Patches go to icculus@icculus.org ...
--- a/extras/ignorecase.c Thu Feb 18 09:34:08 2010 -0500
+++ b/extras/ignorecase.c Tue Feb 23 21:58:49 2010 -0500
@@ -108,7 +108,7 @@
} /* while */
/* check final element... */
- return locateOneElement(buf ? 0 : -1);
+ return locateOneElement(buf) ? 0 : -1;
} /* PHYSFSEXT_locateCorrectCase */