mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 11:04:44 +00:00
SHERLOCK: SS: Fix German journal crash moving tobacco box
This commit is contained in:
parent
8e8199f6af
commit
a69eebe53b
@ -438,8 +438,9 @@ void Journal::loadJournalFile(bool alreadyLoaded) {
|
||||
}
|
||||
}
|
||||
|
||||
// Is it a control character?
|
||||
if (isPrintable(c)) {
|
||||
if (c == '\r' || c == '\n') {
|
||||
journalString += '\n';
|
||||
} else if (isPrintable(c)) {
|
||||
// Nope. Set flag for allowing control codes to insert spaces
|
||||
ctrlSpace = true;
|
||||
justChangedSpeaker = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user