summaryrefslogtreecommitdiff
path: root/src/termcap.c
diff options
context:
space:
mode:
authorAmadeusz Sławiński <amade@asmblr.net>2015-11-20 15:24:25 +0100
committerAmadeusz Sławiński <amade@asmblr.net>2017-02-01 15:54:21 +0100
commita8c0d68f669eb17a2bf9d8d97f834f5cabb1dad5 (patch)
treef58d612ead6c4ec444631cf2af20070497df50aa /src/termcap.c
parentd6c724ad5348c529b87df6fd9be817e1f495451e (diff)
downloadscreen-a8c0d68f669eb17a2bf9d8d97f834f5cabb1dad5.tar.gz
Z0width & Z1width are only assigned once, make them const
It's modified cherry-pick of f4e6265c8be5e74590b7bf24fe5250e70283ccb0 from master branch. Fix: 50197
Diffstat (limited to 'src/termcap.c')
-rw-r--r--src/termcap.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/termcap.c b/src/termcap.c
index ae89d17..f8f67a4 100644
--- a/src/termcap.c
+++ b/src/termcap.c
@@ -36,7 +36,6 @@ extern int real_uid, real_gid, eff_uid, eff_gid;
extern struct term term[]; /* terminal capabilities */
extern struct NewWindow nwin_undef, nwin_default, nwin_options;
extern int force_vt;
-extern int Z0width, Z1width;
extern int hardstatusemu;
#ifdef MAPKEYS
extern struct action umtab[];
@@ -410,8 +409,6 @@ int he;
/* Termcap fields Z0 & Z1 contain width-changing sequences. */
if (D_CZ1 == 0)
D_CZ0 = 0;
- Z0width = 132;
- Z1width = 80;
CheckScreenSize(0);