Fixed logic bug (thanks, Dan!).
This commit is contained in:
parent
a4a7f88db0
commit
a4a72dfe8c
|
@ -109,6 +109,9 @@ PHYSFS_stat() API:
|
||||||
Christoph Nelles
|
Christoph Nelles
|
||||||
Indy Sams
|
Indy Sams
|
||||||
|
|
||||||
|
Bug fixes:
|
||||||
|
Dan Olson
|
||||||
|
|
||||||
Other stuff:
|
Other stuff:
|
||||||
Your name here! Patches go to icculus@icculus.org ...
|
Your name here! Patches go to icculus@icculus.org ...
|
||||||
|
|
||||||
|
|
|
@ -108,7 +108,7 @@ int PHYSFSEXT_locateCorrectCase(char *buf)
|
||||||
} /* while */
|
} /* while */
|
||||||
|
|
||||||
/* check final element... */
|
/* check final element... */
|
||||||
return locateOneElement(buf ? 0 : -1);
|
return locateOneElement(buf) ? 0 : -1;
|
||||||
} /* PHYSFSEXT_locateCorrectCase */
|
} /* PHYSFSEXT_locateCorrectCase */
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue