[hackers] [dmenu] simplification || Connor Lane Smith

From: <hg_AT_suckless.org>
Date: Sat, 11 Sep 2010 18:48:20 +0000 (UTC)

changeset: 368:5521e6f2571f
tag: tip
user: Connor Lane Smith <cls_AT_lubutu.com>
date: Sat Sep 11 19:48:10 2010 +0100
files: dmenu.c
description:
simplification

diff -r 50576bf2aa83 -r 5521e6f2571f dmenu.c
--- a/dmenu.c Sat Sep 11 13:37:01 2010 +0100
+++ b/dmenu.c Sat Sep 11 19:48:10 2010 +0100
@@ -230,7 +230,7 @@
         }
         switch(ksym) {
         default:
- if(!iscntrl(*buf))
+ if(*buf)
                         insert(buf, strlen(buf));
                 break;
         case XK_Delete:
Received on Sat Sep 11 2010 - 20:48:20 CEST

This archive was generated by hypermail 2.2.0 : Sat Sep 11 2010 - 21:00:07 CEST