From 322fd95188a3ab6c23a450c3cec6ae6af0b2e857 Mon Sep 17 00:00:00 2001 From: Steven Smith Date: Wed, 28 Jan 2015 18:18:45 -0800 Subject: [PATCH] Add missing continue when screen_draw_string encounters a newline. --- source/common.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/common.cpp b/source/common.cpp index f46e74b..376328b 100644 --- a/source/common.cpp +++ b/source/common.cpp @@ -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);