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
|
@ -28,10 +28,11 @@ int ConstantsStringList::add(const TCHAR *name, int value1, int value2)
|
|||
int pos=SortedStringListND<struct constantstring>::add(name);
|
||||
if (pos == -1) return -1;
|
||||
|
||||
((struct constantstring*)m_gr.get())[pos].index = m_index;
|
||||
((struct constantstring*)m_gr.get())[pos].pos = pos;
|
||||
((struct constantstring*)m_gr.get())[pos].value1 = value1;
|
||||
((struct constantstring*)m_gr.get())[pos].value2 = value2;
|
||||
constantstring *ptr = ((constantstring*) m_gr.get()) + pos;
|
||||
ptr->index = m_index;
|
||||
ptr->pos = pos;
|
||||
ptr->value1 = value1;
|
||||
ptr->value2 = value2;
|
||||
|
||||
int temp = m_index;
|
||||
m_index++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue