diff options
author | okan <okan> | 2008-05-19 18:07:53 +0000 |
---|---|---|
committer | okan <okan> | 2008-05-19 18:07:53 +0000 |
commit | 53116c4ec3792901d7ac774199963d915ea0da5a (patch) | |
tree | 150e382a194b6cc4a6b809a45bd808a0d4a5c75b /input.c | |
parent | 981c2480dbeba34162711766a3b258421fe88ff8 (diff) | |
download | cwm-53116c4ec3792901d7ac774199963d915ea0da5a.tar.gz cwm-53116c4ec3792901d7ac774199963d915ea0da5a.tar.xz cwm-53116c4ec3792901d7ac774199963d915ea0da5a.zip |
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@
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/input.c b/input.c index e5a4a00..8d1649c 100644 --- a/input.c +++ b/input.c @@ -22,8 +22,7 @@ #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); } |