Use font_ascent instead of font_height, it's more elegant

next
Axel Wagner 2010-09-17 05:29:01 +02:00
parent a75cb6e785
commit 60bab3db28
1 changed files with 2 additions and 1 deletions

View File

@ -563,6 +563,7 @@ void clean_xcb() {
FREE(xcb_chk);
FREE(xcb_prep);
FREE(xcb_io);
FREE(font_info);
}
/*
@ -809,7 +810,7 @@ void draw_bars() {
ws_walk->name_glyphs,
outputs_walk->buffer,
outputs_walk->bargc,
i + 5, font_height + 1,
i + 5, font_info->font_ascent + 2,
ws_walk->ucs2_name);
i += 10 + ws_walk->name_width;
}