summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Dmitriev <>2020-04-27 18:12:56 +0200
committerAlexander Naumov <alexander_naumov@opensuse.org>2020-04-27 18:12:56 +0200
commit30c9a2a6c190647e35d1ce7b4758de9081f06d10 (patch)
treef85afca1b973f31678ba468dfdf1bee551e45afa
parent92e86ba5787c42df8a057bdeac4560ca127535a4 (diff)
downloadscreen-30c9a2a6c190647e35d1ce7b4758de9081f06d10.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 26cba62..26c8f5a 100644
--- a/src/termcap.c
+++ b/src/termcap.c
@@ -1068,7 +1068,7 @@ int aflag;
{
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 */