From 1b3f415241e959595b68c9953cdf2c0e6bb4ddbb Mon Sep 17 00:00:00 2001 From: kichik Date: Sat, 16 Feb 2008 17:37:04 +0000 Subject: [PATCH] fixed bug #1891106 - Error flag not cleared after ReadRegStr in MUI StartMenu git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5540 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/Modern UI 2/Pages/StartMenu.nsh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Contrib/Modern UI 2/Pages/StartMenu.nsh b/Contrib/Modern UI 2/Pages/StartMenu.nsh index 7dad2159..80850f72 100644 --- a/Contrib/Modern UI 2/Pages/StartMenu.nsh +++ b/Contrib/Modern UI 2/Pages/StartMenu.nsh @@ -106,7 +106,9 @@ Start Menu folder page ${if} $mui.StartMenuPage.RegistryLocation != "" StrCpy "${MUI_STARTMENUPAGE_VARIABLE}" $mui.StartMenuPage.RegistryLocation ${endif} - + + ClearErrors + ${endif} !endif