Fixed unbalanced push/pop in MUI_UNGETLANGUAGE (MUI v1)

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6836 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2017-01-20 21:15:49 +00:00
parent 871589cab4
commit aec58509b4
2 changed files with 5 additions and 1 deletions

View file

@ -2192,7 +2192,8 @@ Var MUI_TEMP2
!macro MUI_UNGETLANGUAGE
!verbose pop
!verbose push
!verbose ${MUI_VERBOSE}
!ifdef MUI_LANGDLL_REGISTRY_ROOT & MUI_LANGDLL_REGISTRY_KEY & MUI_LANGDLL_REGISTRY_VALUENAME

View file

@ -119,6 +119,9 @@ EXTERN_C void NSISWinMainNOCRT()
"CRYPTBASE\0" // Win7 without KB2533623: OleInitialize ... RPCRT4.UuidCreate ... RPCRT4.GenerateRandomNumber
"OLEACC\0" // Vista: SHFileOperation ... SHELL32.CProgressDialogUI::_Setup ... SHELL32.GetRoleTextW
"CLBCATQ\0" // XP.SP2&SP3: SHAutoComplete ... OLE32!InitializeCatalogIfNecessary ... OLE32!CComCatalog::TryToLoadCLB
#ifndef NSIS_SUPPORT_GETDLLVERSION
"VERSION\0"
#endif
;
const char *dll;
for (dll = preload; dll[0]; dll += lstrlenA(dll) + 1)