Display a warning if MUI_LANGDLL_DISPLAY is inserted before MUI_LANGUAGE

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6612 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2015-09-19 13:22:52 +00:00
parent 5615d42881
commit e81728a52b
2 changed files with 8 additions and 0 deletions

View file

@ -66,6 +66,10 @@ Localization
!verbose push
!verbose ${MUI_VERBOSE}
!ifndef MUI_LANGDLL_LANGUAGES
!warning "MUI_LANGDLL_DISPLAY should only be used after inserting the MUI_LANGUAGE macro(s)"
!endif
!insertmacro MUI_LANGDLL_VARIABLES
!insertmacro MUI_DEFAULT MUI_LANGDLL_WINDOWTITLE "Installer Language"