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

@ -3558,7 +3558,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
{
int k=line.gettoken_enum(4,retstr);
if (k <= 0) PRINTHELP();
ent.offsets[0]|=rettab[k]<<20;
ent.offsets[0]|=rettab[k]<<21;
a=5;
}
else if (line.getnumtokens() > 7)
@ -5477,7 +5477,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
DefineInnerLangString(NLF_CANT_WRITE);
ent.offsets[0]=1; // overwrite off
ent.offsets[0]|=(MB_RETRYCANCEL|MB_ICONSTOP|(IDCANCEL<<20))<<3;
ent.offsets[0]|=(MB_RETRYCANCEL|MB_ICONSTOP|(IDCANCEL<<21))<<3;
ent.offsets[1]=add_string(tempDLL);
ent.offsets[2]=data_handle;
ent.offsets[3]=0xffffffff;
@ -5887,13 +5887,13 @@ int CEXEBuild::add_file(const string& dir, const string& file, int attrib, const
{
mb = MB_ABORTRETRYIGNORE | MB_ICONSTOP;
// default for silent installers
mb |= IDIGNORE << 20;
mb |= IDIGNORE << 21;
}
else
{
mb = MB_RETRYCANCEL | MB_ICONSTOP;
// default for silent installers
mb |= IDCANCEL << 20;
mb |= IDCANCEL << 21;
}
ent.offsets[0] |= mb << 3;