[Scummvm-cvs-logs] scummvm master -> 5c1eb40bd3e2aeef6d81400a010432908815de1e

m-kiewitz m_kiewitz at users.sourceforge.net
Tue Feb 16 19:48:46 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:
5c1eb40bd3 SHERLOCK: RT: Only see German Sharp-S char as printable


Commit: 5c1eb40bd3e2aeef6d81400a010432908815de1e
    https://github.com/scummvm/scummvm/commit/5c1eb40bd3e2aeef6d81400a010432908815de1e
Author: Martin Kiewitz (m_kiewitz at users.sourceforge.net)
Date: 2016-02-16T19:49:38+01:00

Commit Message:
SHERLOCK: RT: Only see German Sharp-S char as printable

And not the full 0xE0 -> 0xFF range
Fixes bug #7042

Changed paths:
    engines/sherlock/journal.cpp



diff --git a/engines/sherlock/journal.cpp b/engines/sherlock/journal.cpp
index 155dfde..8763af3 100644
--- a/engines/sherlock/journal.cpp
+++ b/engines/sherlock/journal.cpp
@@ -803,7 +803,7 @@ bool Journal::isPrintable(byte ch) const {
 	if (ch < opcodes[0])
 		return true;
 
-	if (_vm->getLanguage() == Common::DE_DEU && ch >= 0xe0)
+	if (_vm->getLanguage() == Common::DE_DEU && ch == 0xe1) // accept German Sharp-S character
 		return true;
 
 	return false;






More information about the Scummvm-git-logs mailing list