From f0d6154b95075f1e1198cd1fd12f7516cca57add Mon Sep 17 00:00:00 2001 From: Victor Dmitriev <> Date: Mon, 27 Apr 2020 18:24:37 +0200 Subject: [PATCH] TERMCAP_BUF is used in place of TERMCAP_BUFSIZE --- src/termcap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */