Ignore error message inserts
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7277 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
9aecfe373d
commit
ebc8d899a7
1 changed files with 1 additions and 1 deletions
|
@ -375,7 +375,7 @@ void ErrorMessage(const TCHAR *str) //display detailed error info
|
|||
{
|
||||
LPVOID msg;
|
||||
FormatMessage(
|
||||
FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM,
|
||||
FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS,
|
||||
NULL,
|
||||
GetLastError(),
|
||||
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), // Default language
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue