From b2a1eade5dd99b8252fab726a6f78f419e0d52a2 Mon Sep 17 00:00:00 2001 From: simon Date: Fri, 7 Sep 2001 20:32:33 +0000 Subject: [PATCH] Oops, fix that fix. TranslateKey can return <0 and it needs to be dealt with. I don't recall being told that; I should comment it at some stage. git-svn-id: svn://svn.tartarus.org/sgt/putty@1234 cda61777-01e9-0310-a592-d414129be87e --- window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/window.c b/window.c index 49288631..46bf64f2 100644 --- a/window.c +++ b/window.c @@ -1864,7 +1864,7 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT message, if (len == -1) return DefWindowProc(hwnd, message, wParam, lParam); - if (len > 0) { + if (len != 0) { /* * We need not bother about stdin backlogs * here, because in GUI PuTTY we can't do -- 2.11.0