Optimize known conditions

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7330 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2021-09-19 21:10:16 +00:00
parent 0a0795dd5a
commit 3c3d929aad
3 changed files with 85 additions and 15 deletions

View file

@ -815,8 +815,9 @@ SectionEnd
Section "-Results"
IntOp $0 $WVSTATS_TESTS - $WVSTATS_FAILS
StrCpy $1 "Passed $0 of $WVSTATS_TESTS tests"
DetailPrint $1
${If} $0 <> $WVSTATS_TESTS
MessageBox mb_iconstop $1 /SD IDOK
Abort $1
${Else}
DetailPrint $1
${EndIf}
SectionEnd