SHERLOCK: SS: Fix German journal crash moving tobacco box

This commit is contained in:
Paul Gilbert 2016-09-03 15:44:58 -04:00
parent 8e8199f6af
commit a69eebe53b

View File

@ -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;