Skip to content
This repository has been archived by the owner on Feb 19, 2021. It is now read-only.

Commit

Permalink
Oops, fix that fix. TranslateKey can return <0 and it needs to be
Browse files Browse the repository at this point in the history
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
  • Loading branch information
simon committed Sep 7, 2001
1 parent bca9517 commit b2a1ead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion window.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b2a1ead

Please sign in to comment.