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

Comparing rxvt-unicode/src/rxvtfont.C (file contents):
Revision 1.175 by sf-exg, Thu Jan 27 17:37:19 2011 UTC vs.
Revision 1.177 by sf-exg, Mon Feb 7 17:22:41 2011 UTC

967} 967}
968 968
969bool 969bool
970rxvt_font_x11::has_char (unicode_t unicode, const rxvt_fontprop *prop, bool &careful) const 970rxvt_font_x11::has_char (unicode_t unicode, const rxvt_fontprop *prop, bool &careful) const
971{ 971{
972 careful = false;
973
972 uint32_t ch = FROM_UNICODE (cs, unicode); 974 uint32_t ch = FROM_UNICODE (cs, unicode);
973 975
974 if (ch == NOCHAR) 976 if (ch == NOCHAR)
975 return false; 977 return false;
976 978
1412 && (bg == Color_transparent || bg == Color_bg 1414 && (bg == Color_transparent || bg == Color_bg
1413 || (bg >= 0 && !term->pix_colors[bg].is_opaque () && ((dst = XftDrawPicture (d2)))))) 1415 || (bg >= 0 && !term->pix_colors[bg].is_opaque () && ((dst = XftDrawPicture (d2))))))
1414 { 1416 {
1415 int src_x = x, src_y = y; 1417 int src_x = x, src_y = y;
1416 1418
1417 if (term->bg_flags & rxvt_term::isTransparent) 1419 if (term->bg_flags & rxvt_term::BG_IS_TRANSPARENT)
1418 { 1420 {
1419 src_x += term->window_vt_x; 1421 src_x += term->window_vt_x;
1420 src_y += term->window_vt_y; 1422 src_y += term->window_vt_y;
1421 } 1423 }
1422 1424

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines