1
0

simplification

This commit is contained in:
Connor Lane Smith 2010-09-11 19:48:10 +01:00
parent c2507f82ae
commit 3ce8f8de3f

View File

@ -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: