aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/director/stxt.cpp3
-rw-r--r--graphics/macgui/mactext.cpp2
2 files changed, 3 insertions, 2 deletions
diff --git a/engines/director/stxt.cpp b/engines/director/stxt.cpp
index 73e8648bcd..bf9f8e3718 100644
--- a/engines/director/stxt.cpp
+++ b/engines/director/stxt.cpp
@@ -88,8 +88,9 @@ Stxt::Stxt(Common::SeekableSubReadStreamEndian &textStream) {
formattingCount--;
}
- debugC(4, kDebugText, "#### text:\n%s\n####", Common::toPrintable(_ftext).c_str());
_ftext += text;
+
+ debugC(4, kDebugText, "#### text:\n%s\n####", Common::toPrintable(_ftext).c_str());
}
} // End of namespace Director
diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp
index bab29125a6..044931da70 100644
--- a/graphics/macgui/mactext.cpp
+++ b/graphics/macgui/mactext.cpp
@@ -129,7 +129,7 @@ static const Common::U32String::value_type *readHex(uint16 *res, const Common::U
for (int i = 0; i < len; i++) {
char b = (char)*s++;
- *res <<= 8;
+ *res <<= 4;
if (tolower(b) > 'a')
*res |= tolower(b) - 'a';
else