]> git.marmaro.de Git - mmh/commitdiff
uip/termsbr.c: remove references to PC.
authormarkus schnalke <meillo@marmaro.de>
Tue, 27 Mar 2012 08:58:05 +0000 (10:58 +0200)
committermarkus schnalke <meillo@marmaro.de>
Tue, 27 Mar 2012 08:58:05 +0000 (10:58 +0200)
Pulled in from nmh. Thanks to Lyndon Nerenberg.

uip/termsbr.c

index e1ea5f8c2218287fe5ef70efafb3f2fc82ef5a21..fbf5f1620a32d92edf3356c008e56f09be7604f3 100644 (file)
@@ -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;
 }