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

@ -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)