extras/ignorecase.c
changeset 1056 5db207d5cb58
parent 1016 957c97389257
child 1194 b3f242b55333
--- 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 */