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
This commit is contained in:
joostverburg 2008-01-06 09:27:41 +00:00
parent c19787806b
commit 8661522b43

View file

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