1
0
mirror of https://github.com/rfivet/uemacs.git synced 2025-09-26 15:04:04 -04:00

Review buffer list and mode line printing.

Increase version number as two buffer modes have been removed (Spell and Crypt).
This commit is contained in:
2016-03-24 15:25:48 +08:00
parent 645a0d734b
commit 9669fea1ce
4 changed files with 44 additions and 64 deletions

View File

@@ -1118,18 +1118,8 @@ static void modeline(struct window *wp)
lchar = '-';
bp = wp->w_bufp;
#if PKCODE == 0
if ((bp->b_flag & BFTRUNC) != 0)
vtputc('#');
else
#endif
vtputc(lchar);
if ((bp->b_flag & BFCHG) != 0) /* "*" if changed. */
vtputc('*');
else
vtputc(lchar);
vtputc( ((bp->b_flag & BFTRUNC) != 0) ? '#' : lchar) ; /* truncated? */
vtputc( ((bp->b_flag & BFCHG) != 0) ? '*' : lchar) ; /* changed? */
vtputc( ' ') ;
if( n == term.t_nrow - 1)