From 5e4e293df776d2fed65ce5f2f4a74271b0b68e51 Mon Sep 17 00:00:00 2001 From: anders_k Date: Tue, 8 Dec 2015 01:56:13 +0000 Subject: [PATCH] Be more forgiving when avoiding bug #1126 git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6663 212acab6-be3b-0410-9dea-997c60f758d6 --- Include/LogicLib.nsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Include/LogicLib.nsh b/Include/LogicLib.nsh index 96d04757..8831fa9a 100644 --- a/Include/LogicLib.nsh +++ b/Include/LogicLib.nsh @@ -643,7 +643,7 @@ !error "Cannot use Case following a CaseElse" !endif Goto ${${_Logic}EndSelect} ; Go to EndSelect (Ends the previous Case) - !define _LogicLib_EndSelectLabelUsed + !define /IfNDef _LogicLib_EndSelectLabelUsed ${${_Logic}Else}: ; Place the Else label !undef ${_Logic}Else ; and remove it !else