From 01574b91b5305a2dde4e090425810431ad311462 Mon Sep 17 00:00:00 2001 From: Jim Monte Date: Sat, 25 Apr 2020 19:59:13 +0200 Subject: [PATCH] remove unused --- src/frontend/terminal.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/frontend/terminal.c b/src/frontend/terminal.c index d29384e12..98c58f8ed 100644 --- a/src/frontend/terminal.c +++ b/src/frontend/terminal.c @@ -21,14 +21,12 @@ Author: 1986 Wayne A. Christopher, U. C. Berkeley CAD Group #include #endif -#if 0 -/* Bad interaction with bool type in bool.h because curses also - defines this symbol. */ + #ifdef HAVE_TERMCAP #include #include #endif -#endif + #ifdef HAVE_TERMCAP_H #include @@ -129,7 +127,7 @@ outbufputc(void) { if (ourbuf.count != BUFSIZ) { fputs(staticbuf, cp_out); - memset(staticbuf, 0, (size_t) BUFSIZ - ourbuf.count); + memset(staticbuf, 0, (size_t) (BUFSIZ - ourbuf.count)); ourbuf.count = BUFSIZ; ourbuf.ptr = staticbuf; }