applied patch #1990761 - ${IfNotThen} macro for LogicLib

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5648 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2008-06-13 16:42:15 +00:00
parent c382bd2071
commit c8bed407f8

View file

@ -19,7 +19,7 @@
; AndIf|AndIfNot|AndUnless|OrIf|OrIfNot|OrUnless
; - Adds any number of extra conditions to If, IfNot, Unless, ElseIf,
; ElseIfNot and ElseUnless statements.
; IfThen..|..|
; IfThen|IfNotThen..|..|
; - Conditionally executes an inline statement, depending on the value
; of an expression.
; IfCmd..||..|
@ -461,6 +461,16 @@
!macroend
!define IfThen `!insertmacro _IfThen`
!macro _IfNotThen _a _o _b _t
!verbose push
!verbose ${LOGICLIB_VERBOSITY}
${IfNot} `${_a}` `${_o}` `${_b}`
${_t}
${EndIf}
!verbose pop
!macroend
!define IfNotThen `!insertmacro _IfNotThen`
!macro _ForEach _v _f _t _o _s
!verbose push
!verbose ${LOGICLIB_VERBOSITY}