[Scummvm-git-logs] scummvm branch-2-6 -> 00d9dce44343c29a7819675c09a370b2e90cf92c
dreammaster
noreply at scummvm.org
Wed Jun 29 02:44:14 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:
00d9dce443 CHEWY: Fix rendering of German accented characters
Commit: 00d9dce44343c29a7819675c09a370b2e90cf92c
https://github.com/scummvm/scummvm/commit/00d9dce44343c29a7819675c09a370b2e90cf92c
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2022-06-28T19:44:04-07:00
Commit Message:
CHEWY: Fix rendering of German accented characters
Changed paths:
engines/chewy/main.cpp
diff --git a/engines/chewy/main.cpp b/engines/chewy/main.cpp
index aea1db4202a..3c573297395 100644
--- a/engines/chewy/main.cpp
+++ b/engines/chewy/main.cpp
@@ -1953,7 +1953,7 @@ Graphics::Surface *ChewyFont::getLine(const Common::String &texts) {
line->fillRect(Common::Rect(line->w, line->h), 0xFF);
for (uint i = 0; i < texts.size(); i++) {
- subrect.moveTo((texts[i] - _first) * _dataWidth, 0);
+ subrect.moveTo(((byte)texts[i] - _first) * _dataWidth, 0);
line->copyRectToSurface(_fontSurface, i * (_deltaX - 2), 0, subrect);
}
More information about the Scummvm-git-logs
mailing list