summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Dmitriev <>2020-04-27 18:24:37 +0200
committerAlexander Naumov <alexander_naumov@opensuse.org>2020-04-27 18:24:37 +0200
commitf0d6154b95075f1e1198cd1fd12f7516cca57add (patch)
tree19b8cdfa5be9577ea38861c7040e13fa51744d07
parentb14e76eb5d6be889d58e37e420384e59a74eddd6 (diff)
downloadscreen-f0d6154b95075f1e1198cd1fd12f7516cca57add.tar.gz
TERMCAP_BUF is used in place of TERMCAP_BUFSIZE
-rw-r--r--src/termcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/termcap.c b/src/termcap.c
index 1a75f2f..b49818b 100644
--- a/src/termcap.c
+++ b/src/termcap.c
@@ -803,7 +803,7 @@ char *MakeTermcap(bool aflag)
if (i < T_OCAPS) {
if (i >= T_KEYPAD) /* don't put keypad codes in TERMCAP */
continue; /* - makes it too big */
-#if (TERMCAP_BUF < 1024)
+#if (TERMCAP_BUFSIZE < 1024)
if (i >= T_FEXTRA && i < T_BACKTAB) /* also skip extra vt220 keys */
continue;
if (i > T_BACKTAB && i < T_NAVIGATE) /* more vt220 keys */