mirror of
https://gitlab.com/Theopse/fbi-i18n-zh.git
synced 2025-09-10 18:59:47 +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') {
|
if(c == '\n') {
|
||||||
cx = x;
|
cx = x;
|
||||||
cy += 8;
|
cy += 8;
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
screen_draw_char(c, cx, cy, r, g, b);
|
screen_draw_char(c, cx, cy, r, g, b);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user