Some TCHAR fixes, linker flag for Unicode, and cosmetic touch without real changes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6052 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
d7ffe58b2e
commit
01d88a1ed6
11 changed files with 1126 additions and 1118 deletions
|
@ -60,9 +60,11 @@ int CVersionStrigList::add(LANGID langid, int codepage)
|
|||
_stprintf(Buff, _T("%04x"), langid);
|
||||
int pos = SortedStringListND<struct version_string_list>::add(Buff);
|
||||
if (pos == -1) return false;
|
||||
((struct version_string_list*)m_gr.get())[pos].pChildStrings = new DefineList;
|
||||
((struct version_string_list*)m_gr.get())[pos].codepage = codepage;
|
||||
((struct version_string_list*)m_gr.get())[pos].lang_id = langid;
|
||||
|
||||
version_string_list *data = ((version_string_list *)m_gr.get())+ pos;
|
||||
data->pChildStrings = new DefineList;
|
||||
data->codepage = codepage;
|
||||
data->lang_id = langid;
|
||||
return pos;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue