fixed some compile errors caused by removing some config.h options

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3429 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2004-01-29 01:23:24 +00:00
parent 1d53ac7649
commit 851032d22a
6 changed files with 33 additions and 9 deletions

View file

@ -79,9 +79,11 @@ int NSISCALL my_GetDialogItemText(UINT idx, char *val)
int NSISCALL my_MessageBox(const char *text, UINT type) {
int _type = type & 0x000FFFFF;
#ifdef NSIS_CONFIG_SILENT_SUPPORT
// default for silent installers
if (g_exec_flags.silent && type >> 20)
return type >> 20;
#endif
// no silent or no default, just show
if (g_exec_flags.rtl)
_type ^= MB_RIGHT | MB_RTLREADING;