From 37a3081f051e7dcd761ad795d27dfe5d90efea48 Mon Sep 17 00:00:00 2001 From: Hirokazu Takahashi Date: Sun, 23 Dec 2012 18:32:28 +0900 Subject: [PATCH] Ctrl+'-' won't work on a US keyboad with Firefox. Firefox 17 generates 173 as the keycode for the minus key. --- include/input.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/input.js b/include/input.js index 86630af0..fef21634 100644 --- a/include/input.js +++ b/include/input.js @@ -110,6 +110,10 @@ function getKeysymSpecial(evt) { if (Util.Engine.gecko || Util.Engine.presto) { keysym = 45; } break; + case 173 : // - (Mozilla) + if (Util.Engine.gecko) { + keysym = 45; } + break; case 189 : keysym = 45; break; // - (IE) case 190 : keysym = 46; break; // . (Mozilla, IE) case 191 : keysym = 47; break; // / (Mozilla, IE)