ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/screen.C
(Generate patch)

Comparing rxvt-unicode/src/screen.C (file contents):
Revision 1.214 by root, Sun Jan 8 00:07:18 2006 UTC vs.
Revision 1.215 by root, Sun Jan 8 06:35:23 2006 UTC

145/* Fill a full line with blanks - make sure it is allocated first */ 145/* Fill a full line with blanks - make sure it is allocated first */
146void 146void
147rxvt_term::scr_blank_screen_mem (line_t &l, rend_t efs) 147rxvt_term::scr_blank_screen_mem (line_t &l, rend_t efs)
148{ 148{
149 scr_blank_line (l, 0, ncol, efs); 149 scr_blank_line (l, 0, ncol, efs);
150
151 l.l = 0;
152 l.f = 0;
150} 153}
151 154
152/* ------------------------------------------------------------------------- * 155/* ------------------------------------------------------------------------- *
153 * SCREEN INITIALISATION * 156 * SCREEN INITIALISATION *
154 * ------------------------------------------------------------------------- */ 157 * ------------------------------------------------------------------------- */
638 selection.op = SELECTION_CLEAR; 641 selection.op = SELECTION_CLEAR;
639 } 642 }
640 } 643 }
641 644
642 for (int i = count; i--; ) 645 for (int i = count; i--; )
643 {
644 ROW(row2 - i).l = 0;
645 scr_blank_screen_mem (ROW(row2 - i), rstyle); 646 scr_blank_screen_mem (ROW(row2 - i), rstyle);
646 }
647 647
648 if (OPTION (Opt_scrollWithBuffer) 648 if (OPTION (Opt_scrollWithBuffer)
649 && view_start != 0 649 && view_start != 0
650 && view_start != saveLines) 650 && view_start != saveLines)
651 scr_page (UP, count); 651 scr_page (UP, count);
1303 XChangeGC (display->display, gc, GCForeground, &gcvalue); 1303 XChangeGC (display->display, gc, GCForeground, &gcvalue);
1304 } 1304 }
1305 1305
1306 for (; num--; row++) 1306 for (; num--; row++)
1307 { 1307 {
1308 line_t &l = ROW(row);
1309 l.l = 0;
1310 l.is_longer (0);
1311 scr_blank_screen_mem (l, rstyle); 1308 scr_blank_screen_mem (ROW(row), rstyle);
1312 scr_blank_line (drawn_buf [row], 0, ncol, ren); 1309 scr_blank_line (drawn_buf [row], 0, ncol, ren);
1313 } 1310 }
1314} 1311}
1315 1312
1316#if ENABLE_FRILLS 1313#if ENABLE_FRILLS

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines