aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorEugene Sandulenko2016-12-19 09:26:56 +0100
committerEugene Sandulenko2016-12-19 09:26:56 +0100
commit76ffd9cccb651d49a7d0ebe829a584621fc13644 (patch)
treeaf65faedd2b4033fa71af6fe874274226b5ce014 /graphics
parent6a56156bc643898eab4d072ab6b1a5c85ecfab56 (diff)
downloadscummvm-rg350-76ffd9cccb651d49a7d0ebe829a584621fc13644.tar.gz
scummvm-rg350-76ffd9cccb651d49a7d0ebe829a584621fc13644.tar.bz2
scummvm-rg350-76ffd9cccb651d49a7d0ebe829a584621fc13644.zip
GRAPHICS: Fix initialization
Diffstat (limited to 'graphics')
-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