fixed linking bug (thanks Jacob Nixdorf) & iscntrl corner case

This commit is contained in:
Connor Lane Smith committed 2010-09-13 14:22:02 +01:00
1 parent f0818217b3
commit 610a0a8d12
2 files changed
+2 -2

No files matched your search

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