diff --git a/common/src/platform/windows/windebug.c b/common/src/platform/windows/windebug.c index 99b599dd..c66c1c3b 100644 --- a/common/src/platform/windows/windebug.c +++ b/common/src/platform/windows/windebug.c @@ -25,7 +25,7 @@ void DebugWinError(const char * file, const unsigned int line, const char * func { char *buffer; FormatMessageA( - FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_ALLOCATE_BUFFER, + FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_IGNORE_INSERTS, NULL, status, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),