[Scummvm-git-logs] scummvm master -> 36a2bda04bacc53d2d3b240cfd9ccc4b48e9a211
lotharsm
mail at serra.me
Mon Nov 9 21:42:31 UTC 2020
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:
36a2bda04b GRIM: Convert MD5 checksum dialog message to U32String
Commit: 36a2bda04bacc53d2d3b240cfd9ccc4b48e9a211
https://github.com/scummvm/scummvm/commit/36a2bda04bacc53d2d3b240cfd9ccc4b48e9a211
Author: Lothar Serra Mari (mail at serra.me)
Date: 2020-11-09T22:42:04+01:00
Commit Message:
GRIM: Convert MD5 checksum dialog message to U32String
Changed paths:
engines/grim/md5checkdialog.cpp
diff --git a/engines/grim/md5checkdialog.cpp b/engines/grim/md5checkdialog.cpp
index a86f84bbf1..4a5dd83ff6 100644
--- a/engines/grim/md5checkdialog.cpp
+++ b/engines/grim/md5checkdialog.cpp
@@ -38,7 +38,7 @@ MD5CheckDialog::MD5CheckDialog() :
const int screenW = g_system->getOverlayWidth();
const int screenH = g_system->getOverlayHeight();
- Common::String message = _(
+ Common::U32String message = _(
"ScummVM will now verify the game data files, to make sure you have the best gaming experience.\n"
"This may take a while, please wait.\nSuccessive runs will not check them again.");
@@ -46,7 +46,7 @@ MD5CheckDialog::MD5CheckDialog() :
// down the string into lines, and taking the maximum of their widths.
// Using this, and accounting for the space the button(s) need, we can set
// the real size of the dialog
- Common::Array<Common::String> lines;
+ Common::Array<Common::U32String> lines;
g_gui.getFont().wordWrapText(message, screenW - 2 * 20, lines);
_w = screenW - 20;
int maxlineWidth = _w - 20;
More information about the Scummvm-git-logs
mailing list