added protocol killing stuff
This commit is contained in:
parent
272e15c4b7
commit
3399650076
6 changed files with 153 additions and 36 deletions
2
menu.c
2
menu.c
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue