Doesn't crash if initDialog is called without /NOUNLOAD.

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1618 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2002-11-08 16:51:26 +00:00
parent 0a81a64aec
commit 945a30a7bb
3 changed files with 53 additions and 39 deletions

View file

@ -280,9 +280,15 @@ Here is a little example:
CreateFont $2 "Tahoma" 10 700
SendMessage $1 ${WM_SETFONT} $2 0
InstallOptions::show
Goto done
Pop $0
StrCmp $0 "success" done
StrCmp $0 "back" 0 +2
Abort
StrCmp $0 "cancel" 0 error
Quit
error:
MessageBox MB_OK "IO error: $0"
MessageBox MB_OK|MB_ICONSTOP "IO error: $0"
Quit
done:</PRE>
<HR>
<A name=history><A name=top><B>History:</B>