From 33996500763b04119a6867dfa4040a4236c21a41 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Tue, 11 Jul 2006 16:14:22 +0200 Subject: added protocol killing stuff --- menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'menu.c') diff --git a/menu.c b/menu.c index 650fc57..e09d3b7 100644 --- a/menu.c +++ b/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)); -- cgit v1.2.3-13-gbd6f