[Scummvm-git-logs] scummvm master -> 3530eae6f1dc05271b2b64788ce11c2aceea0888
sev-
sev at scummvm.org
Sat Oct 31 13:06:29 UTC 2020
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:
3530eae6f1 MOHAWK: Fix game "Just Grandma and Me" german and french version crash
Commit: 3530eae6f1dc05271b2b64788ce11c2aceea0888
https://github.com/scummvm/scummvm/commit/3530eae6f1dc05271b2b64788ce11c2aceea0888
Author: besentv (besentv at gmail.com)
Date: 2020-10-31T14:06:25+01:00
Commit Message:
MOHAWK: Fix game "Just Grandma and Me" german and french version crash
The german and french version of "Just Grandma and Me" (Mohawk engine) have the special characters "ç" and "ö" in their config files. This causes ScummVM to crash when trying to start the game in german or french. Allowing non english chars in config files for Living Books games fixes this issue.
Changed paths:
engines/mohawk/livingbooks.cpp
diff --git a/engines/mohawk/livingbooks.cpp b/engines/mohawk/livingbooks.cpp
index f48daf0edb..56e6019391 100644
--- a/engines/mohawk/livingbooks.cpp
+++ b/engines/mohawk/livingbooks.cpp
@@ -298,6 +298,7 @@ void MohawkEngine_LivingBooks::pauseEngineIntern(bool pause) {
}
void MohawkEngine_LivingBooks::loadBookInfo(const Common::String &filename) {
+ _bookInfoFile.allowNonEnglishCharacters();
if (!_bookInfoFile.loadFromFile(filename))
error("Could not open %s as a config file", filename.c_str());
More information about the Scummvm-git-logs
mailing list