From 610a0a8d126b5caa7fec60632c999ca326ca2eff Mon Sep 17 00:00:00 2001 From: Connor Lane Smith Date: Mon, 13 Sep 2010 14:22:02 +0100 Subject: fixed linking bug (thanks Jacob Nixdorf) & iscntrl corner case --- dmenu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dmenu.c') 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: -- cgit v1.2.3-13-gbd6f