From 8661522b4314533de8dcac2047e8a3e388c4c3b8 Mon Sep 17 00:00:00 2001 From: joostverburg Date: Sun, 6 Jan 2008 09:27:41 +0000 Subject: [PATCH] fixed bug - Dangerous example of MUI_STARTMENU_GETFOLDER macro git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5480 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/Modern UI 2/Pages/StartMenu.nsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Contrib/Modern UI 2/Pages/StartMenu.nsh b/Contrib/Modern UI 2/Pages/StartMenu.nsh index afd7ed49..fd7c3660 100644 --- a/Contrib/Modern UI 2/Pages/StartMenu.nsh +++ b/Contrib/Modern UI 2/Pages/StartMenu.nsh @@ -174,7 +174,7 @@ Start Menu folder page ReadRegStr $mui.StartMenuPage.RegistryLocation "${MUI_STARTMENUPAGE_${ID}_REGISTRY_ROOT}" "${MUI_STARTMENUPAGE_${ID}_REGISTRY_KEY}" "${MUI_STARTMENUPAGE_${ID}_REGISTRY_VALUENAME}" - ${if} mui.StartMenuPage.RegistryLocation != "" + ${if} $mui.StartMenuPage.RegistryLocation != "" StrCpy "${VAR}" $mui.StartMenuPage.RegistryLocation ${else} StrCpy "${VAR}" "${MUI_STARTMENUPAGE_${ID}_DEFAULTFOLDER}"