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.340 by sf-exg, Sat Apr 17 23:00:45 2010 UTC vs.
Revision 1.343 by sf-exg, Thu Jul 1 21:52:52 2010 UTC

30 30
31#include <inttypes.h> 31#include <inttypes.h>
32 32
33#include "salloc.C" // HACK, should be a seperate compile! 33#include "salloc.C" // HACK, should be a seperate compile!
34 34
35static inline void
35static inline void fill_text (text_t *start, text_t value, int len) 36fill_text (text_t *start, text_t value, int len)
36{ 37{
37 while (len--) 38 while (len--)
38 *start++ = value; 39 *start++ = value;
39} 40}
40 41
1338 min_it (num, nrow - row); 1339 min_it (num, nrow - row);
1339 1340
1340 // TODO: the code below does not work when view_start != 0 1341 // TODO: the code below does not work when view_start != 0
1341 // the workaround is to disable the clear and use a normal refresh 1342 // the workaround is to disable the clear and use a normal refresh
1342 // when view_start != 0. mysterious. 1343 // when view_start != 0. mysterious.
1343 if (rstyle & (RS_RVid | RS_Uline)) 1344 if (rstyle & (RS_Blink | RS_RVid | RS_Uline))
1344 ren = (rend_t) ~RS_None; 1345 ren = (rend_t) ~RS_None;
1345 else if (GET_BASEBG (rstyle) == Color_bg) 1346 else if (GET_BASEBG (rstyle) == Color_bg)
1346 { 1347 {
1347 ren = DEFAULT_RSTYLE; 1348 ren = DEFAULT_RSTYLE;
1348 1349
2328 if (ISSET_PIXCOLOR (Color_HTC)) 2329 if (ISSET_PIXCOLOR (Color_HTC))
2329 fore = Color_HTC; 2330 fore = Color_HTC;
2330 // if invert is 0 reverse video is set so we use bg color as fg color 2331 // if invert is 0 reverse video is set so we use bg color as fg color
2331 else if (!invert) 2332 else if (!invert)
2332 fore = back; 2333 fore = back;
2334
2333 back = Color_HC; 2335 back = Color_HC;
2334 invert = 0; 2336 invert = 0;
2335 } 2337 }
2336 } 2338 }
2337#endif 2339#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines