summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/os/object/framebuffer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/object/framebuffer.cc b/src/os/object/framebuffer.cc
index e605014..e7b914d 100644
--- a/src/os/object/framebuffer.cc
+++ b/src/os/object/framebuffer.cc
@@ -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++) {