struct XftFont already has height which we can use directly instead of

calculating ourselves, so do so.

ok oga@
This commit is contained in:
okan
2011-06-24 05:45:57 +00:00
parent f6fcd0eb5d
commit c2a8363dd9
4 changed files with 4 additions and 7 deletions

1
conf.c
View File

@@ -70,7 +70,6 @@ void
conf_font(struct conf *c, struct screen_ctx *sc)
{
sc->font = font_make(sc, c->DefaultFontName);
sc->fontheight = font_ascent(sc) + font_descent(sc) + 1;
}
void