dmenu

my fork of dmenu
Index Commits Files Refs README LICENSE
commit f0818217b3d2d0e527f11a5708badf6ddc72e99d
parent 3c366bd73d1812845b0afc185ccaba9bbc871854
Author: Connor Lane Smith <cls@lubutu.com>
Date:   Sat, 11 Sep 2010 19:48:10 +0100

simplification
Diffstat:
Mdmenu.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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: