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@ --- input.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'input.c') diff --git a/input.c b/input.c index 28c973b..5cfae4e 100644 --- a/input.c +++ b/input.c @@ -15,15 +15,14 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: input.c,v 1.5 2008/04/15 18:33:13 okan Exp $ + * $Id: input.c,v 1.6 2008/05/19 18:07:53 okan Exp $ */ #include "headers.h" #include "calmwm.h" int -input_keycodetrans(KeyCode kc, u_int state, - enum ctltype *ctl, char *chr, int normalize) +input_keycodetrans(KeyCode kc, u_int state, enum ctltype *ctl, char *chr) { int ks; @@ -107,8 +106,6 @@ input_keycodetrans(KeyCode kc, u_int state, return (-1); *chr = (char)ks; - if (normalize) - *chr = tolower(*chr); return (0); } -- cgit v1.2.3-2-gb3c3