Parse LangString using the codepage specified in NLF of the language. This helps avoid warnings about unknown variables with LangStrings that contain dollar signs but are not encoded with the system's current codepage.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3204 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
778e73aca8
commit
b6a98d86c3
3 changed files with 16 additions and 42 deletions
|
@ -438,7 +438,7 @@ int CEXEBuild::GenerateLangTables() {
|
|||
curfilename = fn;
|
||||
linecnt = lt[i].lang_id;
|
||||
|
||||
tab = add_string(str, lang_strings[j].process);
|
||||
tab = add_string(str, lang_strings[j].process, lt[i].nlf.m_uCodePage);
|
||||
tabsset++;
|
||||
|
||||
curfilename = 0;
|
||||
|
@ -527,7 +527,7 @@ int CEXEBuild::GenerateLangTables() {
|
|||
curfilename = fn;
|
||||
linecnt = lt[i].lang_id;
|
||||
|
||||
tab = add_string(str, lang_strings[j].process);
|
||||
tab = add_string(str, lang_strings[j].process, lt[i].nlf.m_uCodePage);
|
||||
tabsset++;
|
||||
|
||||
curfilename = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue