console: remove +1 font width

This was to avoid rounding errors but seems to be useless now so remove it.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
David Herrmann 2011-12-26 12:48:36 +01:00
parent 4ca6eeae82
commit 34cd65356f

View File

@ -480,7 +480,7 @@ static int measure_width(struct kmscon_font *font)
if (!num)
return -EFAULT;
font->width = width / num + 1;
font->width = width / num;
log_debug("font: width is %u\n", font->width);
return 0;