]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Let's spell '\t' as VK_TAB in that last patch, in fact, just in case
authorSimon Tatham <anakin@pobox.com>
Mon, 13 Mar 2000 15:04:07 +0000 (15:04 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 13 Mar 2000 15:04:07 +0000 (15:04 +0000)
[originally from svn r409]

window.c

index a7aeb1fc4dbb4b47fbbf786a92a968e7a36a8c63..3852d9ebc31e3e1479be8aa2a859fa2172a38c2c 100644 (file)
--- a/window.c
+++ b/window.c
@@ -1435,7 +1435,7 @@ static int TranslateKey(WPARAM wParam, LPARAM lParam, unsigned char *output) {
     /*
      * Shift-Tab should send ESC [ Z.
      */
-    if (ret && (keystate[VK_SHIFT] & 0x80) && wParam == '\t') {
+    if (ret && (keystate[VK_SHIFT] & 0x80) && wParam == VK_TAB) {
         *p++ = 0x1B;                   /* ESC */
         *p++ = '[';
         *p++ = 'Z';