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.323 by root, Tue Nov 4 23:53:29 2008 UTC vs.
Revision 1.324 by root, Wed Nov 5 00:01:01 2008 UTC

1342 if (row >= nrow) /* Out Of Bounds */ 1342 if (row >= nrow) /* Out Of Bounds */
1343 return; 1343 return;
1344 1344
1345 min_it (num, nrow - row); 1345 min_it (num, nrow - row);
1346 1346
1347 /*TODO: the xlceararea/xfillrectangle below don't take scroll offste into account, ask mikachu for details */ 1347 // TODO: the code below does not work when view_start != 0
1348 // the workaround is to disable the clear and use a normal refresh
1349 // when view_start != 0. mysterious.
1348 if (rstyle & (RS_RVid | RS_Uline)) 1350 if (rstyle & (RS_RVid | RS_Uline))
1349 ren = (rend_t) ~RS_None; 1351 ren = (rend_t) ~RS_None;
1350 else if (GET_BASEBG (rstyle) == Color_bg) 1352 else if (GET_BASEBG (rstyle) == Color_bg)
1351 { 1353 {
1352 ren = DEFAULT_RSTYLE; 1354 ren = DEFAULT_RSTYLE;
1374 } 1376 }
1375 1377
1376 for (; num--; row++) 1378 for (; num--; row++)
1377 { 1379 {
1378 scr_blank_screen_mem (ROW(row), rstyle); 1380 scr_blank_screen_mem (ROW(row), rstyle);
1381
1379 if (!view_start) 1382 if (!view_start)
1380 scr_blank_line (drawn_buf [row], 0, ncol, ren); 1383 scr_blank_line (drawn_buf [row], 0, ncol, ren);
1381 } 1384 }
1382} 1385}
1383 1386

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines