From: simon Date: Mon, 13 Mar 2000 15:04:07 +0000 (+0000) Subject: Let's spell '\t' as VK_TAB in that last patch, in fact, just in case X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/641ba8ef4fe95216e94fd548a2f189bf48dfb9c1 Let's spell '\t' as VK_TAB in that last patch, in fact, just in case git-svn-id: svn://svn.tartarus.org/sgt/putty@409 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/window.c b/window.c index a7aeb1fc..3852d9eb 100644 --- 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';