From 3ceffecb7c0262aac40944c69d9797912262e891 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 15 Dec 2019 10:56:26 +0100 Subject: GRAPHICS: MACGUI: Fixed parameter parsing --- graphics/macgui/mactext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics/macgui') 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'; } -- cgit v1.2.3