From 9a2371ddfbe061cd75fe6a174c52319b7bab362f Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 14 Dec 2019 00:37:45 +0100 Subject: GRAPHICS: MACGUI: Fixed text format 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 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 -- cgit v1.2.3