splash-log: avoid clearing past end of framebuffer pitch

This commit is contained in:
K. Lange 2018-12-19 18:12:38 +09:00
parent 0d8a512308
commit 1ec82032ec

View File

@ -73,7 +73,7 @@ static void update_message(char * c) {
c++; c++;
x += char_width; x += char_width;
} }
while (x < width) { while (x < width - char_width) {
write_char(x, y, ' ', FG_COLOR); write_char(x, y, ' ', FG_COLOR);
x += char_width; x += char_width;
} }