From 3ce8f8de3fec402ae8b2a3a3c4d4fc58aa069b50 Mon Sep 17 00:00:00 2001 From: Connor Lane Smith Date: Sat, 11 Sep 2010 19:48:10 +0100 Subject: [PATCH] simplification --- dmenubar/dmenu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmenubar/dmenu.c b/dmenubar/dmenu.c index 908f548..0d01cbc 100644 --- a/dmenubar/dmenu.c +++ b/dmenubar/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: