[Scummvm-git-logs] scummvm master -> 606ac3ceab8c2bb7a5067c90b761de7ea38c6063
bluegr
noreply at scummvm.org
Sat Sep 13 21:43:21 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
606ac3ceab WINTERMUTE: Set a better default value for font startX
Commit: 606ac3ceab8c2bb7a5067c90b761de7ea38c6063
https://github.com/scummvm/scummvm/commit/606ac3ceab8c2bb7a5067c90b761de7ea38c6063
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2025-09-14T00:43:19+03:00
Commit Message:
WINTERMUTE: Set a better default value for font startX
Changed paths:
engines/wintermute/base/font/base_font_bitmap.cpp
diff --git a/engines/wintermute/base/font/base_font_bitmap.cpp b/engines/wintermute/base/font/base_font_bitmap.cpp
index a45124a8479..588ac90fab4 100644
--- a/engines/wintermute/base/font/base_font_bitmap.cpp
+++ b/engines/wintermute/base/font/base_font_bitmap.cpp
@@ -192,7 +192,7 @@ int BaseFontBitmap::textHeightDraw(const byte *text, int x, int y, int width, TT
if (end < 0) {
done = true;
}
- int startX = 0;
+ int startX = x;
switch (align) {
case TAL_CENTER:
startX = x + (width - realLength) / 2;
More information about the Scummvm-git-logs
mailing list