[Scummvm-git-logs] scummvm master -> 76ffd9cccb651d49a7d0ebe829a584621fc13644
sev-
sev at scummvm.org
Mon Dec 19 09:27:07 CET 2016
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
76ffd9cccb GRAPHICS: Fix initialization
Commit: 76ffd9cccb651d49a7d0ebe829a584621fc13644
https://github.com/scummvm/scummvm/commit/76ffd9cccb651d49a7d0ebe829a584621fc13644
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-12-19T09:26:56+01:00
Commit Message:
GRAPHICS: Fix initialization
Changed paths:
graphics/macgui/mactext.cpp
diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp
index b674532..2dc1fc8 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
More information about the Scummvm-git-logs
mailing list