simplification

main
Connor Lane Smith 2010-09-11 19:48:10 +01:00
parent 3c366bd73d
commit f0818217b3
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ keypress(XKeyEvent *ev) {
}
switch(ksym) {
default:
if(!iscntrl(*buf))
if(*buf)
insert(buf, strlen(buf));
break;
case XK_Delete: