aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui
diff options
context:
space:
mode:
authorEugene Sandulenko2019-12-14 00:37:45 +0100
committerEugene Sandulenko2019-12-14 00:37:45 +0100
commit9a2371ddfbe061cd75fe6a174c52319b7bab362f (patch)
treecf1b1529ab5f8335ccbcd993ef61886b4ebf83d2 /graphics/macgui
parentcd45caa1e0ab9717907d61dca1d3bfb8a83ff4c8 (diff)
downloadscummvm-rg350-9a2371ddfbe061cd75fe6a174c52319b7bab362f.tar.gz
scummvm-rg350-9a2371ddfbe061cd75fe6a174c52319b7bab362f.tar.bz2
scummvm-rg350-9a2371ddfbe061cd75fe6a174c52319b7bab362f.zip
GRAPHICS: MACGUI: Fixed text format parsing
Diffstat (limited to 'graphics/macgui')
-rw-r--r--graphics/macgui/mactext.cpp2
1 files changed, 1 insertions, 1 deletions
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