LicenseForceSelection strings now default to English too if string is missing from the NLF
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2690 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
cf0a0762a5
commit
e67f48952f
1 changed files with 2 additions and 2 deletions
|
@ -786,8 +786,8 @@ NLF::NLF(char *filename) {
|
|||
// Read strings
|
||||
for (int i = 0; i < NLF_STRINGS; i++) {
|
||||
if (nlf_version < 3 && (i == NLF_BTN_LICENSE_AGREE || i == NLF_BTN_LICENSE_DISAGREE)) {
|
||||
m_szStrings[i] = new char[1];
|
||||
m_szStrings[i][0] = 0;
|
||||
m_szStrings[i] = new char[strlen(english_strings[i]) + 1];
|
||||
strcpy(m_szStrings[i], english_strings[i]);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue