From ac0db7d3464cf4691df76b80572591788c7fc32d Mon Sep 17 00:00:00 2001 From: simon Date: Wed, 13 Oct 2004 12:29:50 +0000 Subject: [PATCH] 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. git-svn-id: svn://svn.tartarus.org/sgt/putty@4612 cda61777-01e9-0310-a592-d414129be87e --- window.c | 1 - 1 file changed, 1 deletion(-) diff --git a/window.c b/window.c index 5a369738..2b5073fc 100644 --- a/window.c +++ b/window.c @@ -2188,7 +2188,6 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT message, mi.rcMonitor.top == pt.y) { mouse_on_hotspot = 1; } - CloseHandle(mon); } } #else -- 2.11.0