summaryrefslogtreecommitdiff
path: root/dmenu.c
diff options
context:
space:
mode:
authorConnor Lane Smith <cls@lubutu.com>2010-09-11 19:48:10 +0100
committerConnor Lane Smith <cls@lubutu.com>2010-09-11 19:48:10 +0100
commitf0818217b3d2d0e527f11a5708badf6ddc72e99d (patch)
treebd21cb55af4ff640699e78d08b815f44e2e85c5e /dmenu.c
parent3c366bd73d1812845b0afc185ccaba9bbc871854 (diff)
simplification
Diffstat (limited to 'dmenu.c')
-rw-r--r--dmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dmenu.c b/dmenu.c
index 908f548..0d01cbc 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -230,7 +230,7 @@ keypress(XKeyEvent *ev) {
}
switch(ksym) {
default:
- if(!iscntrl(*buf))
+ if(*buf)
insert(buf, strlen(buf));
break;
case XK_Delete: