don't Return from macro, use Goto

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4993 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2007-03-10 17:49:21 +00:00
parent 7c08c07d9f
commit edeb26b7a7

View file

@ -395,7 +395,7 @@ A usage example can be found in `Examples\Memento.nsi`.
${If} ${Errors}
# use script defaults on first run
Return
Goto done
${EndIf}
@ -436,7 +436,7 @@ A usage example can be found in `Examples\Memento.nsi`.
${ElseIf} ${Errors}
Goto done
Goto loop_end
${EndIf}
@ -479,7 +479,7 @@ A usage example can be found in `Examples\Memento.nsi`.
IntOp $0 $0 + 1
Goto loop
done:
loop_end:
# restore sections' status
@ -487,6 +487,8 @@ A usage example can be found in `Examples\Memento.nsi`.
# all done
done:
Pop $3
Pop $2
Pop $1