projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54c4369
)
uip/termsbr.c: remove references to PC.
author
markus schnalke
<meillo@marmaro.de>
Tue, 27 Mar 2012 08:58:05 +0000
(10:58 +0200)
committer
markus 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
patch
|
blob
|
history
diff --git
a/uip/termsbr.c
b/uip/termsbr.c
index
e1ea5f8
..
fbf5f16
100644
(file)
--- 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;
}