~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Preparatory work for allowing PSCP to work over SFTP as well as old-
[sgt/putty]
/
winctrls.c
diff --git
a/winctrls.c
b/winctrls.c
index
a098c98
..
9800c3e
100644
(file)
--- a/
winctrls.c
+++ b/
winctrls.c
@@
-920,11
+920,9
@@
int pl_itemfrompt(HWND hwnd, POINT cursor, BOOL scroll)
* the lower edge, or _below_ it if vice versa.
*/
ret = LBItemFromPt(hwnd, cursor, scroll);
* the lower edge, or _below_ it if vice versa.
*/
ret = LBItemFromPt(hwnd, cursor, scroll);
- debug(("pl_itemfrompt: initial is %d\n", ret));
if (ret == -1)
return ret;
ret = LBItemFromPt(hwnd, cursor, FALSE);
if (ret == -1)
return ret;
ret = LBItemFromPt(hwnd, cursor, FALSE);
- debug(("pl_itemfrompt: secondary is %d\n", ret));
updist = downdist = 0;
for (i = 1; i < 4096 && (!updist || !downdist); i++) {
uppoint = downpoint = cursor;
updist = downdist = 0;
for (i = 1; i < 4096 && (!updist || !downdist); i++) {
uppoint = downpoint = cursor;