зеркало из https://github.com/github/putty.git
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:
Родитель
e65095f52b
Коммит
fdb6435ef9
2
window.c
2
window.c
|
@ -1864,7 +1864,7 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT message,
|
||||||
if (len == -1)
|
if (len == -1)
|
||||||
return DefWindowProc(hwnd, message, wParam, lParam);
|
return DefWindowProc(hwnd, message, wParam, lParam);
|
||||||
|
|
||||||
if (len > 0) {
|
if (len != 0) {
|
||||||
/*
|
/*
|
||||||
* We need not bother about stdin backlogs
|
* We need not bother about stdin backlogs
|
||||||
* here, because in GUI PuTTY we can't do
|
* here, because in GUI PuTTY we can't do
|
||||||
|
|
Загрузка…
Ссылка в новой задаче