projects
/
suckless
/
dmenu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c366bd
)
simplification
author
Connor Lane Smith
<cls@lubutu.com>
Sat, 11 Sep 2010 18:48:10 +0000
(19:48 +0100)
committer
Connor Lane Smith
<cls@lubutu.com>
Sat, 11 Sep 2010 18:48:10 +0000
(19:48 +0100)
dmenu.c
patch
|
blob
|
history
diff --git
a/dmenu.c
b/dmenu.c
index 908f5481cc7fa7a3db73077f3e827e7d2dc2286d..0d01cbc916b5527fdc404d2db9f34c7233aaaef4 100644
(file)
--- 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: