Make all programs use draw_text.

This commit is contained in:
Fernando Tarlá Cardoso Lemos
2011-11-13 21:23:25 -02:00
committed by Michael Stapelberg
parent 5c2088c87e
commit eafc7af606
6 changed files with 26 additions and 48 deletions

View File

@ -193,7 +193,9 @@ void render_con(Con *con, bool render_fullscreen) {
}
/* find the height for the decorations */
int deco_height = config.font.height + 5;
int deco_height = config.font.height + 4;
if (config.font.height & 0x01)
++deco_height;
/* precalculate the sizes to be able to correct rounding errors */
int sizes[children];