Fixed logic bug (thanks, Dan!).
This commit is contained in:
parent
a4a7f88db0
commit
a4a72dfe8c
|
@ -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 ...
|
||||
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue