1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00

I think we've been told before that you're not supposed to

CloseHandle() the thing returned from MonitorFromPoint. Certainly MS
Visual Studio's debugger complained about it just now. CloseHandle()
call removed.

[originally from svn r4612]
This commit is contained in:
Simon Tatham 2004-10-13 12:29:50 +00:00
parent e3e59cb340
commit 71ad69f897

View File

@ -2188,7 +2188,6 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT message,
mi.rcMonitor.top == pt.y) {
mouse_on_hotspot = 1;
}
CloseHandle(mon);
}
}
#else