aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui
diff options
context:
space:
mode:
authorEugene Sandulenko2019-12-15 10:56:26 +0100
committerEugene Sandulenko2019-12-15 11:36:26 +0100
commit3ceffecb7c0262aac40944c69d9797912262e891 (patch)
tree5d26cc984dc8f9ee67c5af8b11d8f80b0392d088 /graphics/macgui
parent1db9e2f0082ffc989f876a49c463bd26bf5dc1e8 (diff)
downloadscummvm-rg350-3ceffecb7c0262aac40944c69d9797912262e891.tar.gz
scummvm-rg350-3ceffecb7c0262aac40944c69d9797912262e891.tar.bz2
scummvm-rg350-3ceffecb7c0262aac40944c69d9797912262e891.zip
GRAPHICS: MACGUI: Fixed parameter 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 f12a4151be..fc7dec6c5c 100644
--- a/graphics/macgui/mactext.cpp
+++ b/graphics/macgui/mactext.cpp
@@ -131,7 +131,7 @@ static const Common::U32String::value_type *readHex(uint16 *res, const Common::U
*res <<= 4;
if (tolower(b) > 'a')
- *res |= tolower(b) - 'a';
+ *res |= tolower(b) - 'a' + 10;
else
*res |= tolower(b) - '0';
}