From 59d948c675c82f450fdb1b6eb169da6562e3b4fa Mon Sep 17 00:00:00 2001 From: Marco Candrian Date: Fri, 7 Dec 2007 12:47:37 +0000 Subject: [PATCH] no need to check futher -> break; --- content/mappings.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/mappings.js b/content/mappings.js index 964b72dc..e6cf13cf 100644 --- a/content/mappings.js +++ b/content/mappings.js @@ -168,6 +168,7 @@ vimperator.Mappings = function () //{{{ break; // found on this mode - check next mode, if there is one, where it could still fail... } } + break; // not found in this mode -> map wont' match all modes... } if (output) yield maps[i]; @@ -302,6 +303,7 @@ vimperator.Mappings = function () //{{{ break; // found on this mode - ok, check next mode... } } + break; // not found in this mode -> map wont' match all modes... } }