Skip to content
Snippets Groups Projects
Commit 6f7002f2 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

framebuffer: put: fix scroll calculation

parent 40d020fd
No related branches found
No related tags found
No related merge requests found
......@@ -130,7 +130,7 @@ void Framebuffer::put(char c)
if (fontX + glyph_w + 1 >= width) {
put('\n');
}
if (fontY + fontSize > height) {
if (fontY + 8*fontSize > height) {
scroll();
}
for (unsigned char i = 0; i < glyph_w; i++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment