mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-05-28 15:24:49 -05:00
D'oh, remove two rogue diagnostics
[originally from svn r1202]
This commit is contained in:
parent
a723494288
commit
116fb80175
@ -920,11 +920,9 @@ int pl_itemfrompt(HWND hwnd, POINT cursor, BOOL scroll)
|
|||||||
* the lower edge, or _below_ it if vice versa.
|
* the lower edge, or _below_ it if vice versa.
|
||||||
*/
|
*/
|
||||||
ret = LBItemFromPt(hwnd, cursor, scroll);
|
ret = LBItemFromPt(hwnd, cursor, scroll);
|
||||||
debug(("pl_itemfrompt: initial is %d\n", ret));
|
|
||||||
if (ret == -1)
|
if (ret == -1)
|
||||||
return ret;
|
return ret;
|
||||||
ret = LBItemFromPt(hwnd, cursor, FALSE);
|
ret = LBItemFromPt(hwnd, cursor, FALSE);
|
||||||
debug(("pl_itemfrompt: secondary is %d\n", ret));
|
|
||||||
updist = downdist = 0;
|
updist = downdist = 0;
|
||||||
for (i = 1; i < 4096 && (!updist || !downdist); i++) {
|
for (i = 1; i < 4096 && (!updist || !downdist); i++) {
|
||||||
uppoint = downpoint = cursor;
|
uppoint = downpoint = cursor;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user