From 49f3193bd3ecb3b5e447f9c0b2318069d5945887 Mon Sep 17 00:00:00 2001 From: okan Date: Mon, 19 May 2008 18:07:53 +0000 Subject: stop normalizing search input; searching and matching are still case-insensitive. since this was the only use of normalizing input, simplify as well. allows one to exec with mixed case unmatched commands. "works for me" oga@ --- search.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'search.c') diff --git a/search.c b/search.c index ee6058d..e989f4e 100644 --- a/search.c +++ b/search.c @@ -14,7 +14,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: search.c,v 1.9 2008/05/15 22:18:00 oga Exp $ + * $Id: search.c,v 1.10 2008/05/19 18:07:53 okan Exp $ */ #include "headers.h" @@ -104,7 +104,7 @@ search_start(struct menu_q *menuq, switch (e.type) { case KeyPress: if (input_keycodetrans(e.xkey.keycode, e.xkey.state, - &ctl, &chr, 1) < 0) + &ctl, &chr) < 0) continue; switch (ctl) { -- cgit v1.2.3-2-gb3c3