added protocol killing stuff

This commit is contained in:
Anselm R. Garbe
2006-07-11 16:14:22 +02:00
parent 272e15c4b7
commit 3399650076
6 changed files with 153 additions and 36 deletions

2
menu.c
View File

@ -304,7 +304,7 @@ kpress(XKeyEvent * e)
}
break;
default:
if((num == 1) && !iscntrl((int) buf[0])) {
if(num && !iscntrl((int) buf[0])) {
buf[num] = 0;
if(len > 0)
strncat(text, buf, sizeof(text));