diff options
author | okan <okan> | 2011-06-24 05:45:57 +0000 |
---|---|---|
committer | okan <okan> | 2011-06-24 05:45:57 +0000 |
commit | c2a8363dd9868776c12bcdf172b7a02188621c90 (patch) | |
tree | a16d1496fdaa5cd2aed2c097c3e4a41980e8cd0b /conf.c | |
parent | f6fcd0eb5d2f48b82f52b65fa343a83c74a8f55f (diff) | |
download | cwm-c2a8363dd9868776c12bcdf172b7a02188621c90.tar.gz cwm-c2a8363dd9868776c12bcdf172b7a02188621c90.tar.xz cwm-c2a8363dd9868776c12bcdf172b7a02188621c90.zip |
struct XftFont already has height which we can use directly instead of
calculating ourselves, so do so. ok oga@
Diffstat (limited to 'conf.c')
-rw-r--r-- | conf.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/conf.c b/conf.c index 1bd1788..06352ab 100644 --- a/conf.c +++ b/conf.c @@ -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 |