From: simon Date: Fri, 22 Sep 2000 09:49:34 +0000 (+0000) Subject: Num Lock shouldn't send anything in non-app-keypad mode X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/e99937c8cf1689b4c92266441b42d6867eed85d5 Num Lock shouldn't send anything in non-app-keypad mode git-svn-id: svn://svn.tartarus.org/sgt/putty@612 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/window.c b/window.c index 6a59fd9b..13cf177c 100644 --- a/window.c +++ b/window.c @@ -1798,7 +1798,7 @@ static WPARAM compose_key = 0; if ( cfg.funky_type == 0 || ( cfg.funky_type == 1 && app_keypad_keys)) switch(wParam) { - case VK_EXECUTE: xkey = 'P'; break; + case VK_EXECUTE: if (app_keypad_keys) xkey = 'P'; break; case VK_DIVIDE: xkey = 'Q'; break; case VK_MULTIPLY:xkey = 'R'; break; case VK_SUBTRACT:xkey = 'S'; break;