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.266 by root, Mon Oct 9 23:12:45 2006 UTC vs.
Revision 1.267 by root, Thu Nov 2 17:23:50 2006 UTC

2349 /* 2349 /*
2350 * Actually do the drawing of the string here 2350 * Actually do the drawing of the string here
2351 */ 2351 */
2352 rxvt_font *font = (*fontset[GET_STYLE (rend)])[GET_FONT (rend)]; 2352 rxvt_font *font = (*fontset[GET_STYLE (rend)])[GET_FONT (rend)];
2353 2353
2354 if (back == Color_bg && have_bg) 2354 if (have_bg && back == Color_bg)
2355 { 2355 {
2356 // this is very ugly, maybe push it into ->draw? 2356 // this is very ugly, maybe push it into ->draw?
2357 2357
2358 for (i = 0; i < count; i++) /* don't draw empty strings */ 2358 for (i = 0; i < count; i++) /* don't draw empty strings */
2359 if (text[i] != ' ') 2359 if (text[i] != ' ')
2360 { 2360 {
2361 font->draw (*drawable, xpixel, ypixel, text, count, fore, -1); 2361 font->draw (*drawable, xpixel, ypixel, text, count, fore, Color_transparent);
2362 goto did_clear; 2362 goto did_clear;
2363 } 2363 }
2364 2364
2365 CLEAR_CHARS (xpixel, ypixel, count); 2365 CLEAR_CHARS (xpixel, ypixel, count);
2366 did_clear: ; 2366 did_clear: ;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines