diff options
author | Connor Lane Smith <cls@lubutu.com> | 2010-09-11 19:48:10 +0100 |
---|---|---|
committer | Connor Lane Smith <cls@lubutu.com> | 2010-09-11 19:48:10 +0100 |
commit | f0818217b3d2d0e527f11a5708badf6ddc72e99d (patch) | |
tree | bd21cb55af4ff640699e78d08b815f44e2e85c5e | |
parent | 3c366bd73d1812845b0afc185ccaba9bbc871854 (diff) |
simplification
-rw-r--r-- | dmenu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |