Fix for `double-alt-keystrokes'. Thanks to Leonid Lisovskiy.
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Thu, 19 Jun 2003 20:42:32 +0000 (20:42 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Thu, 19 Jun 2003 20:42:32 +0000 (20:42 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@3278 cda61777-01e9-0310-a592-d414129be87e

window.c

index e11b2b9..1c3e225 100644 (file)
--- a/window.c
+++ b/window.c
@@ -3872,9 +3872,10 @@ static int TranslateKey(UINT message, WPARAM wParam, LPARAM lParam,
                            ldisc_send(ldisc, &ch, 1, 1);
                        }
                        alt_sum = 0;
-                   } else
+                   } else {
                        term_seen_key_event(term);
                        lpage_send(ldisc, kbd_codepage, &ch, 1, 1);
+                   }
                } else {
                    if(capsOn && ch < 0x80) {
                        WCHAR cbuf[2];