diff console/libgnt/gntkeys.c @ 14976:2ccce4e114ca

[gaim-migrate @ 17754] *cough* committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 15 Nov 2006 20:11:01 +0000
parents 99112cd4a2f4
children 1c0772f7260b
line wrap: on
line diff
--- a/console/libgnt/gntkeys.c	Wed Nov 15 19:52:37 2006 +0000
+++ b/console/libgnt/gntkeys.c	Wed Nov 15 20:11:01 2006 +0000
@@ -14,7 +14,7 @@
 	}
 
 	if (*text == 27 && *(text + 1) == '[' && *(text + 3) == '\0' &&
-			(*(text + 2) >= 'A' || *(text + 2) <= 'D')) {
+			(*(text + 2) >= 'A' && *(text + 2) <= 'D')) {
 		/* Apparently this is necessary for urxvt and screen and xterm */
 		if (strcmp(term, "screen") == 0 || strcmp(term, "rxvt-unicode") == 0 ||
 				strcmp(term, "xterm") == 0)