1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-18 15:26:23 -05:00

Insure consistency when REVSTA is off (no reverse status bar).

This commit is contained in:
Renaud 2013-06-14 09:12:31 +08:00
parent 008852ada3
commit 287c55cbac

View File

@ -952,8 +952,10 @@ static int updateline(int row, struct video *vp1, struct video *vp2)
unicode_t *cp4; unicode_t *cp4;
unicode_t *cp5; unicode_t *cp5;
int nbflag; /* non-blanks to the right flag? */ int nbflag; /* non-blanks to the right flag? */
int rev; /* reverse video flag */ #if REVSTA
int req; /* reverse video request flag */ int rev; /* reverse video flag */
#endif
int req = FALSE ; /* reverse video request flag */
/* set up pointers to virtual and physical lines */ /* set up pointers to virtual and physical lines */
@ -1098,7 +1100,7 @@ static void modeline(struct window *wp)
#endif #endif
vtmove(n, 0); /* Seek to right line. */ vtmove(n, 0); /* Seek to right line. */
if (wp == curwp) /* mark the current buffer */ if (wp == curwp) /* mark the current buffer */
#if PKCODE #if PKCODE && REVSTA
lchar = '-'; lchar = '-';
#else #else
lchar = '='; lchar = '=';