aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui/mactext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/macgui/mactext.cpp')
-rw-r--r--graphics/macgui/mactext.cpp2
1 files changed, 1 insertions, 1 deletions
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