diff options
-rw-r--r-- | dlfcn.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -157,7 +157,7 @@ static void save_err_str( const char *str ) | |||
157 | error_buffer[pos++] = ':'; | 157 | error_buffer[pos++] = ':'; |
158 | error_buffer[pos++] = ' '; | 158 | error_buffer[pos++] = ' '; |
159 | 159 | ||
160 | ret = FormatMessageA( FORMAT_MESSAGE_FROM_SYSTEM, NULL, dwMessageId, | 160 | ret = FormatMessageA( FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, NULL, dwMessageId, |
161 | MAKELANGID( LANG_NEUTRAL, SUBLANG_DEFAULT ), | 161 | MAKELANGID( LANG_NEUTRAL, SUBLANG_DEFAULT ), |
162 | error_buffer+pos, (DWORD) (sizeof(error_buffer)-pos), NULL ); | 162 | error_buffer+pos, (DWORD) (sizeof(error_buffer)-pos), NULL ); |
163 | pos += ret; | 163 | pos += ret; |