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:
parent
4ca6eeae82
commit
34cd65356f
@ -480,7 +480,7 @@ static int measure_width(struct kmscon_font *font)
|
|||||||
if (!num)
|
if (!num)
|
||||||
return -EFAULT;
|
return -EFAULT;
|
||||||
|
|
||||||
font->width = width / num + 1;
|
font->width = width / num;
|
||||||
log_debug("font: width is %u\n", font->width);
|
log_debug("font: width is %u\n", font->width);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user