mirror of
https://gitlab.com/Theopse/fbi-i18n-zh.git
synced 2025-06-11 09:39:16 +08:00
Add missing continue when screen_draw_string encounters a newline.
This commit is contained in:
parent
b626f6f396
commit
322fd95188
@ -355,6 +355,7 @@ void screen_draw_string(std::string str, int x, int y, u8 r, u8 g, u8 b) {
|
||||
if(c == '\n') {
|
||||
cx = x;
|
||||
cy += 8;
|
||||
continue;
|
||||
}
|
||||
|
||||
screen_draw_char(c, cx, cy, r, g, b);
|
||||
|
Loading…
x
Reference in New Issue
Block a user