mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-24 05:01:43 +00:00
GRAPHICS: Fix initialization
This commit is contained in:
parent
6a56156bc6
commit
76ffd9cccb
@ -47,7 +47,7 @@ void MacText::splitString(Common::String &str) {
|
|||||||
const char *s = str.c_str();
|
const char *s = str.c_str();
|
||||||
|
|
||||||
Common::String tmp;
|
Common::String tmp;
|
||||||
bool prevCR;
|
bool prevCR = false;
|
||||||
|
|
||||||
while (*s) {
|
while (*s) {
|
||||||
if (*s == '\n' && prevCR) { // trean \r\n as one
|
if (*s == '\n' && prevCR) { // trean \r\n as one
|
||||||
|
Loading…
x
Reference in New Issue
Block a user