Navigation Menu

Skip to content

Commit

Permalink
Had a "msgbuf" where I should have had a "msgbuf[0]" (thanks, James!).
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Mar 11, 2008
1 parent c14984f commit 27d1a25
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Expand Up @@ -4,6 +4,7 @@

-- stuff in the stable-1.0 branch, backported from 2.0.0 dev branch, etc ---

03112008 - Fixed wrong array index in Windows platform layer (thanks, James!).
03082008 - Fixed compiler warnings in Windows platform layer (thanks, Dennis!).
02202008 - Various archiver swap and compare functions now check if they are
swapping/comparing an item against itself, for efficiency and
Expand Down
1 change: 1 addition & 0 deletions CREDITS
Expand Up @@ -78,6 +78,7 @@ Mingw support:

Bug fixes:
J�rg Walter
James Haley

Windows .rc file:
Dennis Schridde
Expand Down
4 changes: 2 additions & 2 deletions platform/win32.c
Expand Up @@ -90,9 +90,9 @@ static const char *win32strerror(void)
);

if (rc == 0)
msgbuf = '\0'; /* oh well. */
msgbuf[0] = '\0'; /* oh well. Empty string. */

/* chop off newlines. */
/* chop off newlines... */
for (ptr = msgbuf; *ptr; ptr++)
{
if ((*ptr == '\n') || (*ptr == '\r'))
Expand Down

0 comments on commit 27d1a25

Please sign in to comment.