aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {
230 } 230 }
231 switch(ksym) { 231 switch(ksym) {
232 default: 232 default:
233 if(!iscntrl(*buf)) 233 if(*buf)
234 insert(buf, strlen(buf)); 234 insert(buf, strlen(buf));
235 break; 235 break;
236 case XK_Delete: 236 case XK_Delete: