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:
parent
14836bb4a6
commit
38b94f19a5
5 changed files with 12 additions and 12 deletions
|
@ -78,11 +78,11 @@ int NSISCALL my_GetDialogItemText(UINT idx, char *val)
|
|||
}
|
||||
|
||||
int NSISCALL my_MessageBox(const char *text, UINT type) {
|
||||
int _type = type & 0x000FFFFF;
|
||||
int _type = type & 0x001FFFFF;
|
||||
#ifdef NSIS_CONFIG_SILENT_SUPPORT
|
||||
// default for silent installers
|
||||
if (g_exec_flags.silent && type >> 20)
|
||||
return type >> 20;
|
||||
if (g_exec_flags.silent && type >> 21)
|
||||
return type >> 21;
|
||||
#endif
|
||||
// no silent or no default, just show
|
||||
if (g_exec_flags.rtl)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue