Mercurial > hg > xemacs-beta
diff src/redisplay-tty.c @ 169:15872534500d r20-3b11
Import from CVS: tag r20-3b11
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:46:53 +0200 |
parents | d2f30a177268 |
children | 3d6bfa290dbd |
line wrap: on
line diff
--- a/src/redisplay-tty.c Mon Aug 13 09:45:48 2007 +0200 +++ b/src/redisplay-tty.c Mon Aug 13 09:46:53 2007 +0200 @@ -425,12 +425,12 @@ struct frame *f = XFRAME (w->frame); struct console *c = XCONSOLE (FRAME_CONSOLE (f)); int line; - int y1 = WINDOW_TEXT_TOP (w); - int y2 = WINDOW_TEXT_BOTTOM (w); + int y_top = WINDOW_TEXT_TOP (w); + int y_bot = WINDOW_TEXT_BOTTOM (w); unsigned char divv = '|'; tty_turn_on_face (w, MODELINE_INDEX); - for (line = y1; line < y2; line++) + for (line = y_top; line < y_bot; line++) { cmgoto (f, line, WINDOW_TEXT_LEFT (w) - 1); send_string_to_tty_console (c, &divv, 1); @@ -438,7 +438,7 @@ } /* Draw the divider in the modeline. */ - cmgoto (f, y2, WINDOW_TEXT_LEFT (w) - 1); + cmgoto (f, y_bot, WINDOW_TEXT_LEFT (w) - 1); send_string_to_tty_console (c, &divv, 1); TTY_INC_CURSOR_X (c, 1); tty_turn_off_face (w, MODELINE_INDEX);