From 76ffd9cccb651d49a7d0ebe829a584621fc13644 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 19 Dec 2016 09:26:56 +0100 Subject: GRAPHICS: Fix initialization --- graphics/macgui/mactext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics') diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp index b674532890..2dc1fc8e2c 100644 --- a/graphics/macgui/mactext.cpp +++ b/graphics/macgui/mactext.cpp @@ -47,7 +47,7 @@ void MacText::splitString(Common::String &str) { const char *s = str.c_str(); Common::String tmp; - bool prevCR; + bool prevCR = false; while (*s) { if (*s == '\n' && prevCR) { // trean \r\n as one -- cgit v1.2.3