[Quiz] Quick-fix for the print function

This commit is contained in:
Romain Goyet
2015-09-14 19:55:18 +02:00
parent 523522bc0b
commit 26c6363e0e

View File

@@ -7,7 +7,7 @@ void print(char * message) {
int line_height = KDStringSize("M").height;
KDDrawString(message, (KDPoint){.x = 0, .y = line_y});
line_y += line_height;
if (line_y > ION_FRAMEBUFFER_HEIGHT) {
if (line_y > 160) {
line_y = 0;
ion_getchar();
// Clear screen maybe?