aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui/mactext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/macgui/mactext.cpp')
-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';
}