From 95871ee2c83111e05d895a6166f09faf7b04dc69 Mon Sep 17 00:00:00 2001 From: kichik Date: Wed, 27 Aug 2003 13:10:41 +0000 Subject: [PATCH] No need with just two sections git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2821 212acab6-be3b-0410-9dea-997c60f758d6 --- Examples/one-section.nsi | 1 + 1 file changed, 1 insertion(+) diff --git a/Examples/one-section.nsi b/Examples/one-section.nsi index 1078366e..b59ee397 100644 --- a/Examples/one-section.nsi +++ b/Examples/one-section.nsi @@ -47,6 +47,7 @@ Function .onSelChange !ifdef USE_SUBSECTION ; Check if the user have selected all of the sections using the sub-section +; This piece of code is not needed when there are only two sections SectionGetFlags ${subsec} $0 IntOp $0 $0 & ${SF_SELECTED} StrCmp $0 0 skip