changeset 10481:24756aef26e3

(term_get_fkeys_1): Bug fix for function key above f19.
author Richard M. Stallman <rms@gnu.org>
date Thu, 19 Jan 1995 18:56:43 +0000
parents fbb254882b9f
children a15a058ec779
files src/term.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/term.c	Thu Jan 19 18:56:10 1995 +0000
+++ b/src/term.c	Thu Jan 19 18:56:43 1995 +0000
@@ -1325,9 +1325,9 @@
 	if (i <= 19)
 	  fcap[1] = '1' + i - 11;
 	else if (i <= 45)
-	  fcap[1] = 'A' + i - 11;
+	  fcap[1] = 'A' + i - 20;
 	else
-	  fcap[1] = 'a' + i - 11;
+	  fcap[1] = 'a' + i - 46;
 
 	{
 	  char *sequence = tgetstr (fcap, address);