diff options
Diffstat (limited to 'gzio.c')
-rw-r--r-- | gzio.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -61,13 +61,13 @@ local char *strwinerror (error) | |||
61 | wchar_t *msgbuf; | 61 | wchar_t *msgbuf; |
62 | DWORD lasterr = GetLastError(); | 62 | DWORD lasterr = GetLastError(); |
63 | DWORD chars = FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM | 63 | DWORD chars = FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM |
64 | | FORMAT_MESSAGE_ALLOCATE_BUFFER, | 64 | | FORMAT_MESSAGE_ALLOCATE_BUFFER, |
65 | NULL, | 65 | NULL, |
66 | error, | 66 | error, |
67 | 0, /* Default language */ | 67 | 0, /* Default language */ |
68 | (LPVOID)&msgbuf, | 68 | (LPVOID)&msgbuf, |
69 | 0, | 69 | 0, |
70 | NULL); | 70 | NULL); |
71 | if (chars != 0) { | 71 | if (chars != 0) { |
72 | /* If there is an \r\n appended, zap it. */ | 72 | /* If there is an \r\n appended, zap it. */ |
73 | if (chars >= 2 | 73 | if (chars >= 2 |