don't declare variables for registry values if they won't be used
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5265 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
bb8fc680f5
commit
4fe86652a8
2 changed files with 15 additions and 7 deletions
|
@ -10,12 +10,14 @@ Localization
|
|||
|
||||
!macro MUI_LANGDLL_VARIABLES
|
||||
|
||||
!ifndef MUI_LANGDLL_VARIABLES
|
||||
!define MUI_LANGDLL_VARIABLES
|
||||
|
||||
;/GLOBAL because the macros are included in a function
|
||||
Var /GLOBAL mui.LangDLL.RegistryLanguage
|
||||
|
||||
!ifdef MUI_LANGDLL_REGISTRY_ROOT & MUI_LANGDLL_REGISTRY_KEY & MUI_LANGDLL_REGISTRY_VALUENAME
|
||||
!ifndef MUI_LANGDLL_REGISTRY_VARAIBLES
|
||||
!define MUI_LANGDLL_REGISTRY_VARAIBLES
|
||||
|
||||
;/GLOBAL because the macros are included in a function
|
||||
Var /GLOBAL mui.LangDLL.RegistryLanguage
|
||||
|
||||
!endif
|
||||
!endif
|
||||
|
||||
!macroend
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue