1
0
Fork 0

Minor formating fixes.

This commit is contained in:
Henrik Hautakoski 2019-12-29 22:26:05 +01:00
parent 6f53b0c069
commit 4df668e68f
No known key found for this signature in database
GPG key ID: 96765B12FEAC4745
76 changed files with 121 additions and 121 deletions

View file

@ -7,12 +7,12 @@ const char* Win32GetMessage(DWORD messageId) {
static char buf[1024] = { '\0' };
DWORD rc = FormatMessage(
FORMAT_MESSAGE_IGNORE_INSERTS |
FORMAT_MESSAGE_FROM_SYSTEM,
NULL, messageId,
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
FORMAT_MESSAGE_IGNORE_INSERTS |
FORMAT_MESSAGE_FROM_SYSTEM,
NULL, messageId,
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
buf, 1024, NULL);
if (!rc) {
strcpy_s(buf, "Unkown error!\n");
}