projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Alain Guibert points out that palette changes weren't causing the space
[u/mdw/putty]
/
windows
/
winctrls.c
diff --git
a/windows/winctrls.c
b/windows/winctrls.c
index
c2d344a
..
9ef09b7
100644
(file)
--- a/
windows/winctrls.c
+++ b/
windows/winctrls.c
@@
-1050,7
+1050,7
@@
int handle_prefslist(struct prefslist *hdl,
hdl->srcitem = LBItemFromPt(dlm->hWnd, dlm->ptCursor, TRUE);
hdl->dragging = 0;
/* XXX hack Q183115 */
hdl->srcitem = LBItemFromPt(dlm->hWnd, dlm->ptCursor, TRUE);
hdl->dragging = 0;
/* XXX hack Q183115 */
- SetWindowLong
(hwnd, DWL
_MSGRESULT, TRUE);
+ SetWindowLong
Ptr(hwnd, DWLP
_MSGRESULT, TRUE);
ret |= 1; break;
case DL_CANCELDRAG:
DrawInsert(hwnd, dlm->hWnd, -1); /* Clear arrow */
ret |= 1; break;
case DL_CANCELDRAG:
DrawInsert(hwnd, dlm->hWnd, -1); /* Clear arrow */
@@
-1064,9
+1064,9
@@
int handle_prefslist(struct prefslist *hdl,
if (dest > hdl->dummyitem) dest = hdl->dummyitem;
DrawInsert (hwnd, dlm->hWnd, dest);
if (dest >= 0)
if (dest > hdl->dummyitem) dest = hdl->dummyitem;
DrawInsert (hwnd, dlm->hWnd, dest);
if (dest >= 0)
- SetWindowLong
(hwnd, DWL
_MSGRESULT, DL_MOVECURSOR);
+ SetWindowLong
Ptr(hwnd, DWLP
_MSGRESULT, DL_MOVECURSOR);
else
else
- SetWindowLong
(hwnd, DWL
_MSGRESULT, DL_STOPCURSOR);
+ SetWindowLong
Ptr(hwnd, DWLP
_MSGRESULT, DL_STOPCURSOR);
ret |= 1; break;
case DL_DROPPED:
if (hdl->dragging) {
ret |= 1; break;
case DL_DROPPED:
if (hdl->dragging) {