X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Ftermsbr.c;h=fbf5f1620a32d92edf3356c008e56f09be7604f3;hp=e1ea5f8c2218287fe5ef70efafb3f2fc82ef5a21;hb=6e9577f324bef90765a5edc02044eb111ec48072;hpb=a567638a9445d091f6334ac2de2fc0e57309eb42 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; }