[Scummvm-git-logs] scummvm master -> a99b0aa952fd84809de43f81ee638757b1c75f4c
sev-
noreply at scummvm.org
Fri Aug 19 12:45:59 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
a99b0aa952 SCUMM: Fix non-ASCII string constant
Commit: a99b0aa952fd84809de43f81ee638757b1c75f4c
https://github.com/scummvm/scummvm/commit/a99b0aa952fd84809de43f81ee638757b1c75f4c
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2022-08-19T14:45:38+02:00
Commit Message:
SCUMM: Fix non-ASCII string constant
Changed paths:
engines/scumm/gfx_gui.cpp
diff --git a/engines/scumm/gfx_gui.cpp b/engines/scumm/gfx_gui.cpp
index 2ecb837d7ee..cbac418d159 100644
--- a/engines/scumm/gfx_gui.cpp
+++ b/engines/scumm/gfx_gui.cpp
@@ -116,7 +116,7 @@ Common::KeyState ScummEngine_v7::showBannerAndPause(int bannerId, int32 waitTime
// Take all the necessary measurements for the box which
// will contain the string...
bool isCOMIDemo = (_game.id == GID_CMI && (_game.features & GF_DEMO) != 0);
- bannerMsgHeight = (isCOMIDemo ? _textV7->getStringHeight("ABC x °x") : _textV7->getStringHeight(bannerMsg)) + 5;
+ bannerMsgHeight = (isCOMIDemo ? _textV7->getStringHeight("ABC \x80\x78 \xb0\x78") : _textV7->getStringHeight(bannerMsg)) + 5;
bannerMsgWidth = _textV7->getStringWidth(bannerMsg);
if (bannerMsgWidth < 100)
bannerMsgWidth = 100;
More information about the Scummvm-git-logs
mailing list