Minor Windows fix (thanks, fydo!).
This commit is contained in:
parent
ac277daac4
commit
7501090a5b
|
@ -2,6 +2,7 @@
|
||||||
* CHANGELOG.
|
* CHANGELOG.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
02132008 - Minor Windows fix (thanks, fydo!).
|
||||||
02012008 - lzma fixes (thanks, eH!).
|
02012008 - lzma fixes (thanks, eH!).
|
||||||
01222008 - Upgraded lzma sdk, lzma.c improvements (thanks, Dennis!).
|
01222008 - Upgraded lzma sdk, lzma.c improvements (thanks, Dennis!).
|
||||||
Added zlib README, and updated LICENSE.txt.
|
Added zlib README, and updated LICENSE.txt.
|
||||||
|
|
|
@ -339,6 +339,9 @@ static const char *winApiStrError(void)
|
||||||
msgbuf, __PHYSFS_ARRAYLEN(msgbuf),
|
msgbuf, __PHYSFS_ARRAYLEN(msgbuf),
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
|
if (rc == 0)
|
||||||
|
msgbuf[0] = '\0'; /* oh well. */
|
||||||
|
|
||||||
/* chop off newlines. */
|
/* chop off newlines. */
|
||||||
for (ptr = msgbuf; *ptr; ptr++)
|
for (ptr = msgbuf; *ptr; ptr++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue