From 26654ef0797db5ba68c4ffd5ac4c3b55a5ecfdd1 Mon Sep 17 00:00:00 2001 From: nhmall Date: Mon, 14 May 2018 22:25:25 -0400 Subject: [PATCH] a few cut-and-paste errors --- win/tty/wintty.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/win/tty/wintty.c b/win/tty/wintty.c index b9ac757c0..b13318cc2 100644 --- a/win/tty/wintty.c +++ b/win/tty/wintty.c @@ -3538,7 +3538,7 @@ static enum statusfields fieldorder[2][15] = { /* 2: two status lines */ static boolean windowdata_init = FALSE; static int cond_shrinklvl = 0, cond_width_at_shrink = 0; static int enclev = 0, enc_shrinklvl = 0; -static dl_shrinklvl = 0; +static int dl_shrinklvl = 0; static boolean truncation_expected = FALSE; /* This controls whether to skip fields that aren't @@ -3709,7 +3709,6 @@ unsigned long *colormasks; case BL_HUNGER: /* The core sends trailing blanks for some fields Let's suppress the trailing blanks */ - char *lastchar = eos(status_vals[fldidx]); lastchar = eos(status_vals[fldidx]); lastchar--; while (lastchar && *lastchar == ' ' -- 2.40.0