- updated the makefiles and code to allow compliation with MinGW once again (some of patch #875485 by perditionc)
- fixed errors and warnings given by gcc git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3513 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
2b3da85bae
commit
f4a1f17299
43 changed files with 323 additions and 252 deletions
|
@ -707,8 +707,10 @@ static BOOL CALLBACK LicenseProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM
|
|||
if (nmhdr->code==EN_LINK) {
|
||||
if (enlink->msg==WM_LBUTTONDOWN) {
|
||||
TEXTRANGE tr = {
|
||||
enlink->chrg.cpMin,
|
||||
enlink->chrg.cpMax,
|
||||
{
|
||||
enlink->chrg.cpMin,
|
||||
enlink->chrg.cpMax,
|
||||
},
|
||||
ps_tmpbuf
|
||||
};
|
||||
if (tr.chrg.cpMax-tr.chrg.cpMin < sizeof(ps_tmpbuf)) {
|
||||
|
@ -1232,7 +1234,9 @@ static BOOL CALLBACK SelProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPar
|
|||
int ns=lParam;
|
||||
TVITEM tv;
|
||||
|
||||
if (tv.hItem=hTreeItems[x])
|
||||
tv.hItem=hTreeItems[x];
|
||||
|
||||
if (tv.hItem)
|
||||
{
|
||||
tv.mask=TVIF_TEXT;
|
||||
tv.pszText=GetNSISStringTT(ns);
|
||||
|
@ -1360,7 +1364,9 @@ static BOOL CALLBACK SelProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPar
|
|||
|
||||
if (t->flags&SF_RO) l+=3;
|
||||
|
||||
if (tv.hItem=*ht) {
|
||||
tv.hItem=*ht;
|
||||
|
||||
if (tv.hItem) {
|
||||
tv.mask=TVIF_STATE;
|
||||
tv.state=INDEXTOSTATEIMAGEMASK(l);
|
||||
tv.stateMask=TVIS_STATEIMAGEMASK;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue