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
This commit is contained in:
kichik 2003-08-27 13:10:41 +00:00
parent af6439a12f
commit 95871ee2c8

View file

@ -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