Minor Windows fix (thanks, fydo!).

This commit is contained in:
Ryan C. Gordon 2008-02-13 05:48:57 +00:00
parent ac277daac4
commit 7501090a5b
2 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,7 @@
* CHANGELOG.
*/
02132008 - Minor Windows fix (thanks, fydo!).
02012008 - lzma fixes (thanks, eH!).
01222008 - Upgraded lzma sdk, lzma.c improvements (thanks, Dennis!).
Added zlib README, and updated LICENSE.txt.

View File

@ -339,6 +339,9 @@ static const char *winApiStrError(void)
msgbuf, __PHYSFS_ARRAYLEN(msgbuf),
NULL);
if (rc == 0)
msgbuf[0] = '\0'; /* oh well. */
/* chop off newlines. */
for (ptr = msgbuf; *ptr; ptr++)
{