Add missing continue when screen_draw_string encounters a newline.

This commit is contained in:
Steven Smith 2015-01-28 18:18:45 -08:00
parent b626f6f396
commit 322fd95188

View File

@ -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);