From: root Date: Mon, 9 Jan 2006 07:35:07 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=66513a749621ff30aaa7919faf88fb2906b17bbe;p=dana%2Furxvt.git *** empty log message *** --- diff --git a/src/rxvtfont.C b/src/rxvtfont.C index c1a3584b..1fe7f744 100644 --- a/src/rxvtfont.C +++ b/src/rxvtfont.C @@ -1271,12 +1271,12 @@ rxvt_font_xft::draw (rxvt_drawable &d, int x, int y, const text_t *text, int len, int fg, int bg) { + clear_rect (d, x, y, r->fwidth * len, r->fheight, bg); + XGlyphInfo extents; XftGlyphSpec *enc = (XftGlyphSpec *)get_enc_buf (len * sizeof (XftGlyphSpec)); XftGlyphSpec *ep = enc; - clear_rect (d, x, y, r->fwidth * len, r->fheight, bg); - // cut trailing spaces while (len && text [len - 1] == ' ') len--;