implemented feature request #1159701 - "RTLREADING" flag support in the "MessageBox"

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3922 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2005-03-17 20:44:31 +00:00
parent 14836bb4a6
commit 38b94f19a5
5 changed files with 12 additions and 12 deletions

View file

@ -496,7 +496,7 @@ static int NSISCALL ExecuteEntry(entry *entry_)
GetNSISString(buf0,LANG_ERRORDECOMPRESSING);
}
log_printf2("%s",buf0);
my_MessageBox(buf0,MB_OK|MB_ICONSTOP|(IDOK<<20));
my_MessageBox(buf0,MB_OK|MB_ICONSTOP|(IDOK<<21));
return EXEC_ERROR;
}
}
@ -667,7 +667,7 @@ static int NSISCALL ExecuteEntry(entry *entry_)
if (!s)
{
log_printf2("Exch: stack < %d elements",parm2);
my_MessageBox(GetNSISStringTT(LANG_INSTCORRUPTED),MB_OK|MB_ICONSTOP|(IDOK<<20));
my_MessageBox(GetNSISStringTT(LANG_INSTCORRUPTED),MB_OK|MB_ICONSTOP|(IDOK<<21));
return EXEC_ERROR;
}
mystrcpy(buf0,s->text);
@ -1069,7 +1069,7 @@ static int NSISCALL ExecuteEntry(entry *entry_)
case EW_REBOOT:
if (parm0!=0xbadf00d)
{
my_MessageBox(GetNSISStringTT(LANG_INSTCORRUPTED),MB_OK|MB_ICONSTOP|(IDOK<<20));
my_MessageBox(GetNSISStringTT(LANG_INSTCORRUPTED),MB_OK|MB_ICONSTOP|(IDOK<<21));
return EXEC_ERROR;
}