simplification
This commit is contained in:
parent
3c366bd73d
commit
f0818217b3
1 changed files with 1 additions and 1 deletions
2
dmenu.c
2
dmenu.c
|
@ -230,7 +230,7 @@ keypress(XKeyEvent *ev) {
|
||||||
}
|
}
|
||||||
switch(ksym) {
|
switch(ksym) {
|
||||||
default:
|
default:
|
||||||
if(!iscntrl(*buf))
|
if(*buf)
|
||||||
insert(buf, strlen(buf));
|
insert(buf, strlen(buf));
|
||||||
break;
|
break;
|
||||||
case XK_Delete:
|
case XK_Delete:
|
||||||
|
|
Loading…
Reference in a new issue