diff options
author | Kenichi Handa <handa@m17n.org> | 2009-04-06 11:11:36 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 2009-04-06 11:11:36 +0000 |
commit | ab193662d55d811a0cf06dae6f0600d5df83e528 (patch) | |
tree | d5d777311c535bf1a7a5ce4d3bf7cde93126f909 /src/ftxfont.c | |
parent | bc981e4e5acef4558cfa547256cb76097cd0e3d6 (diff) | |
download | emacs-ab193662d55d811a0cf06dae6f0600d5df83e528.tar.gz |
(ftxfont_draw_backgrond): Fix args to XFillRectangle.
Diffstat (limited to 'src/ftxfont.c')
-rw-r--r-- | src/ftxfont.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ftxfont.c b/src/ftxfont.c index dcad85ba7fd..2cf45bb27a0 100644 --- a/src/ftxfont.c +++ b/src/ftxfont.c @@ -235,7 +235,7 @@ ftxfont_draw_backgrond (f, font, gc, x, y, width) GCForeground | GCBackground, &xgcv); XSetForeground (FRAME_X_DISPLAY (f), gc, xgcv.background); XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), gc, - x, y - font->ascent, width, y + font->descent); + x, y - FONT_BASE (font), width, FONT_HEIGHT (font)); XSetForeground (FRAME_X_DISPLAY (f), gc, xgcv.foreground); } |