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
Родитель e65095f52b
Коммит fdb6435ef9
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

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