From: markus schnalke Date: Tue, 27 Mar 2012 08:58:05 +0000 (+0200) Subject: uip/termsbr.c: remove references to PC. X-Git-Tag: mmh-thesis-end~155 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=5a4836db0e18fe3fa32ba5d3deff2010d8a1b418;p=mmh uip/termsbr.c: remove references to PC. Pulled in from nmh. Thanks to Lyndon Nerenberg. --- diff --git a/uip/termsbr.c b/uip/termsbr.c index e1ea5f8..fbf5f16 100644 --- a/uip/termsbr.c +++ b/uip/termsbr.c @@ -39,13 +39,10 @@ static int initCO = 0; static int CO = 80; /* number of colums */ -static char termcap[TXTSIZ]; - static void read_termcap(void) { - char *bp, *cp; char *term; #ifndef TGETENT_ACCEPTS_NULL @@ -76,10 +73,6 @@ read_termcap(void) if (!initCO && (CO = tgetnum("co")) <= 0) CO = 80; - - cp = termcap; - if ((bp = tgetstr("pc", &cp))) - PC = *bp; }