fixed MUI_UNGETLANGUAGE which didn't test the right variable and didn't declare it in the first place causing an error in case MUI_LANGDLL_DISPLAY isn't used

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5301 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2007-10-02 17:08:41 +00:00
parent cb3de0c235
commit 1c3a4e1539

View file

@ -146,13 +146,16 @@ Localization
;Get language from registry in uninstaller
!verbose pop
!verbose push
!verbose ${MUI_VERBOSE}
!insertmacro MUI_LANGDLL_VARIABLES
!ifdef MUI_LANGDLL_REGISTRY_ROOT & MUI_LANGDLL_REGISTRY_KEY & MUI_LANGDLL_REGISTRY_VALUENAME
ReadRegStr $mui.LangDLL.RegistryLanguage "${MUI_LANGDLL_REGISTRY_ROOT}" "${MUI_LANGDLL_REGISTRY_KEY}" "${MUI_LANGDLL_REGISTRY_VALUENAME}"
${if} mui.LangDLL.RegistryLanguage = ""
${if} $mui.LangDLL.RegistryLanguage = ""
!endif