aboutsummaryrefslogtreecommitdiff
path: root/dmenu.c
diff options
context:
space:
mode:
authorConnor Lane Smith <cls@lubutu.com>2010-09-13 14:22:02 +0100
committerConnor Lane Smith <cls@lubutu.com>2010-09-13 14:22:02 +0100
commit610a0a8d126b5caa7fec60632c999ca326ca2eff (patch)
tree437997dd4bc4fa8be961b031e7db25a8f18e11ba /dmenu.c
parentf0818217b3d2d0e527f11a5708badf6ddc72e99d (diff)
downloaddmenu-610a0a8d126b5caa7fec60632c999ca326ca2eff.tar.gz
dmenu-610a0a8d126b5caa7fec60632c999ca326ca2eff.tar.bz2
dmenu-610a0a8d126b5caa7fec60632c999ca326ca2eff.zip
fixed linking bug (thanks Jacob Nixdorf) & iscntrl corner case
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 0d01cbc..908f548 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -230,7 +230,7 @@ keypress(XKeyEvent *ev) {
}
switch(ksym) {
default:
- if(*buf)
+ if(!iscntrl(*buf))
insert(buf, strlen(buf));
break;
case XK_Delete: