cut another 30 bytes or so off. also made atoi take negative octal/hex numbers.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1175 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
372e1f0d11
commit
7dbc2a11c8
4 changed files with 43 additions and 53 deletions
|
@ -272,9 +272,7 @@ lang_again:
|
|||
|
||||
myitoa(state_language, cur_common_strings_table->lang_id);
|
||||
|
||||
process_string_from_lang(g_caption,LANGID_CAPTION);
|
||||
|
||||
SendMessage(m_bgwnd, WM_SETTEXT, 0, (LPARAM)g_caption);
|
||||
SendMessage(m_bgwnd, WM_SETTEXT, 0, (LPARAM)process_string_from_lang(g_caption,LANGID_CAPTION));
|
||||
}
|
||||
|
||||
int NSISCALL ui_doinstall(void)
|
||||
|
@ -1001,12 +999,11 @@ static BOOL CALLBACK SelProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPar
|
|||
if (g_inst_section[x].name_ptr>=0)
|
||||
{
|
||||
TVINSERTSTRUCT tv;
|
||||
process_string_fromtab(ps_tmpbuf,g_inst_section[x].name_ptr);
|
||||
tv.hParent=Par;
|
||||
tv.hInsertAfter=TVI_LAST;
|
||||
tv.item.mask=TVIF_PARAM|TVIF_TEXT|TVIF_STATE;
|
||||
tv.item.lParam=x;
|
||||
tv.item.pszText=ps_tmpbuf;
|
||||
tv.item.pszText=process_string_fromtab(ps_tmpbuf,g_inst_section[x].name_ptr);
|
||||
tv.item.stateMask=TVIS_STATEIMAGEMASK;
|
||||
|
||||
if (m_num_insttypes && m_whichcfg != m_num_insttypes && !(g_inst_section[x].default_state&DFS_RO))
|
||||
|
@ -1083,10 +1080,9 @@ static BOOL CALLBACK SelProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPar
|
|||
if (g_inst_section[x].name_ptr>=0 && ns >= 0)
|
||||
{
|
||||
TVITEM tv;
|
||||
process_string_fromtab(ps_tmpbuf,ns);
|
||||
tv.hItem=hTreeItems[x];
|
||||
tv.mask=TVIF_TEXT;
|
||||
tv.pszText=ps_tmpbuf;
|
||||
tv.pszText=process_string_fromtab(ps_tmpbuf,ns);
|
||||
TreeView_SetItem(hwndTree1,&tv);
|
||||
}
|
||||
SendMessage(hwndDlg,WM_USER+0x18,x,(LPARAM)!!(g_inst_section[x].default_state&DFS_SET));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue