1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-10 07:38:06 -05:00

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.

[originally from svn r1234]
This commit is contained in:
Simon Tatham 2001-09-07 20:32:33 +00:00
parent e65095f52b
commit fdb6435ef9

View File

@ -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