From 287c55cbac4e55b8087ab47e813021bafe258483 Mon Sep 17 00:00:00 2001 From: Renaud Fivet Date: Fri, 14 Jun 2013 09:12:31 +0800 Subject: [PATCH] Insure consistency when REVSTA is off (no reverse status bar). --- display.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/display.c b/display.c index 22345ae..2fc1eb8 100644 --- a/display.c +++ b/display.c @@ -952,8 +952,10 @@ static int updateline(int row, struct video *vp1, struct video *vp2) unicode_t *cp4; unicode_t *cp5; int nbflag; /* non-blanks to the right flag? */ - int rev; /* reverse video flag */ - int req; /* reverse video request flag */ +#if REVSTA + int rev; /* reverse video flag */ +#endif + int req = FALSE ; /* reverse video request flag */ /* set up pointers to virtual and physical lines */ @@ -1098,7 +1100,7 @@ static void modeline(struct window *wp) #endif vtmove(n, 0); /* Seek to right line. */ if (wp == curwp) /* mark the current buffer */ -#if PKCODE +#if PKCODE && REVSTA lchar = '-'; #else lchar = '=';