[Scummvm-cvs-logs] scummvm master -> 7aeeeabba9de168e76ae4d82b7f033fc877d0671
bluegr
bluegr at gmail.com
Tue Dec 23 00:58:33 CET 2014
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:
7aeeeabba9 ZVISION: Add a comment about the special 0xCCCC character
Commit: 7aeeeabba9de168e76ae4d82b7f033fc877d0671
https://github.com/scummvm/scummvm/commit/7aeeeabba9de168e76ae4d82b7f033fc877d0671
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2014-12-23T01:57:37+02:00
Commit Message:
ZVISION: Add a comment about the special 0xCCCC character
Changed paths:
engines/zvision/text/text.cpp
diff --git a/engines/zvision/text/text.cpp b/engines/zvision/text/text.cpp
index 91a0688..d1dc784 100644
--- a/engines/zvision/text/text.cpp
+++ b/engines/zvision/text/text.cpp
@@ -499,6 +499,8 @@ Common::String readWideLine(Common::SeekableReadStream &stream) {
asciiString += (char)(0xE0 | ((value >> 12) & 0xF));
asciiString += (char)(0x80 | ((value >> 6) & 0x3F));
asciiString += (char)(0x80 | (value & 0x3F));
+ } else if (value == 0xCCCC) {
+ // Ignore, this character is used as newline sometimes
} else if (value >= 0x10000 && value < 0x200000) {
asciiString += (char)(0xF0);
asciiString += (char)(0x80 | ((value >> 12) & 0x3F));
More information about the Scummvm-git-logs
mailing list