--- rxvt-unicode/src/rxvtfont.C 2006/01/09 07:19:18 1.81 +++ rxvt-unicode/src/rxvtfont.C 2006/01/09 07:35:07 1.82 @@ -1274,7 +1274,7 @@ clear_rect (d, x, y, r->fwidth * len, r->fheight, bg); XGlyphInfo extents; - XftGlyphSpec *enc = (XftGlyphSpec *) get_enc_buf (len * sizeof (XftGlyphSpec)); + XftGlyphSpec *enc = (XftGlyphSpec *)get_enc_buf (len * sizeof (XftGlyphSpec)); XftGlyphSpec *ep = enc; // cut trailing spaces @@ -1291,10 +1291,10 @@ if (fc != ' ') // skip spaces { - FT_UInt gl = XftCharIndex (d.display->display, f, fc); - XftGlyphExtents (d.display->display, f, &gl, 1, &extents); + FT_UInt glyph = XftCharIndex (d.display->display, f, fc); + XftGlyphExtents (d.display->display, f, &glyph, 1, &extents); - ep->glyph = gl; + ep->glyph = glyph; ep->x = x + (cwidth - extents.xOff >> 1); ep->y = y + ascent; ep++;