use NLF_STRINGS_NO_SPECIAL instead of NLF_STRINGS - 3, as the number three can easily change
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4334 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
4e33bf099a
commit
7ac5477abc
1 changed files with 1 additions and 1 deletions
|
@ -1013,7 +1013,7 @@ LanguageTable * CEXEBuild::LoadLangFile(char *filename) {
|
|||
}
|
||||
|
||||
// Read strings
|
||||
for (int i = 0; i < NLF_STRINGS - 3 /* ^Font, ^FontSize and ^RTL */; i++) {
|
||||
for (int i = 0; i < NLF_STRINGS_NO_SPECIAL; i++) {
|
||||
|
||||
// skip virtual strings
|
||||
if (!NLFStrings[i].szDefault)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue