splash-log: avoid clearing past end of framebuffer pitch
This commit is contained in:
parent
0d8a512308
commit
1ec82032ec
@ -73,7 +73,7 @@ static void update_message(char * c) {
|
||||
c++;
|
||||
x += char_width;
|
||||
}
|
||||
while (x < width) {
|
||||
while (x < width - char_width) {
|
||||
write_char(x, y, ' ', FG_COLOR);
|
||||
x += char_width;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user