Error when including same language file twice

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1763 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2002-11-16 15:40:07 +00:00
parent 6116d07eec
commit df3d9b0247

View file

@ -1134,6 +1134,12 @@
!define "MUI_LANGUAGEFILE_${LANGUAGE}_USED"
LoadLanguageFile "${NSISDIR}\Contrib\Language files\${LANGUAGE}.nlf"
!else
!error "${LANGUAGE} included twice!"
!endif
!macroend
@ -1328,8 +1334,6 @@
!undef MUI_TEXT_CONTINUE_INSTALL
!endif
!endif
!undef MUI_LANGUAGEFILE_CURRENT
!verbose 4