diff options
Diffstat (limited to 'Python/dynload_win.c')
-rw-r--r-- | Python/dynload_win.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/dynload_win.c b/Python/dynload_win.c index fc641b9..98ebccb 100644 --- a/Python/dynload_win.c +++ b/Python/dynload_win.c @@ -194,7 +194,8 @@ dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, errorCode = GetLastError(); theLength = FormatMessage( - FORMAT_MESSAGE_FROM_SYSTEM, /* flags */ + FORMAT_MESSAGE_FROM_SYSTEM | + FORMAT_MESSAGE_IGNORE_INSERTS, /* flags */ NULL, /* message source */ errorCode, /* the message (error) ID */ 0, /* default language environment */ |