From c84dcdb8a2fc5cf1e53ac3b6a79141ac70e62cb7 Mon Sep 17 00:00:00 2001 From: joostverburg Date: Fri, 31 Oct 2003 18:05:49 +0000 Subject: [PATCH] abort custom function also work when not using abort warning git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3081 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/Modern UI/System.nsh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Contrib/Modern UI/System.nsh b/Contrib/Modern UI/System.nsh index b910c4db..cb33de23 100644 --- a/Contrib/Modern UI/System.nsh +++ b/Contrib/Modern UI/System.nsh @@ -1861,9 +1861,9 @@ Var MUI_TEMP2 Function .onUserAbort !ifdef MUI_ABORTWARNING !insertmacro MUI_ABORTWARNING - !ifdef MUI_CUSTOMFUNCTION_ABORT - Call "${MUI_CUSTOMFUNCTION_ABORT}" - !endif + !endif + !ifdef MUI_CUSTOMFUNCTION_ABORT + Call "${MUI_CUSTOMFUNCTION_ABORT}" !endif FunctionEnd @@ -1874,9 +1874,9 @@ Var MUI_TEMP2 Function un.onUserAbort !ifdef MUI_UNABORTWARNING !insertmacro MUI_UNABORTWARNING - !ifdef MUI_CUSTOMFUNCTION_UNABORT - Call "${MUI_CUSTOMFUNCTION_UNABORT}" - !endif + !endif + !ifdef MUI_CUSTOMFUNCTION_UNABORT + Call "${MUI_CUSTOMFUNCTION_UNABORT}" !endif FunctionEnd