English is no longer always created
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1462 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
4c33582e77
commit
460b057813
1 changed files with 5 additions and 3 deletions
|
@ -261,9 +261,11 @@ int CEXEBuild::WriteStringTables() {
|
|||
SCRIPT_MSG("Generating language tables... ");
|
||||
|
||||
// If we have no tables (user didn't set any string and didn't load any NLF) create the default one
|
||||
LANGID lang = 1033;
|
||||
StringTable *table = GetTable(lang);
|
||||
if (!table) return PS_ERROR;
|
||||
if (!string_tables.size()) {
|
||||
LANGID lang = 1033;
|
||||
StringTable *table = GetTable(lang);
|
||||
if (!table) return PS_ERROR;
|
||||
}
|
||||
|
||||
// Fill tables with defaults (if needed) and with instruction strings
|
||||
int st_num = string_tables.size();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue