[Scummvm-git-logs] scummvm master -> df66eea201635dbd48f4ba638b8f7359ad819dd6
sev-
sev at scummvm.org
Mon May 4 08:22:06 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:
df66eea201 GRAPHICS: MACGUI: Fixed getting coordinates on chunk edge
Commit: df66eea201635dbd48f4ba638b8f7359ad819dd6
https://github.com/scummvm/scummvm/commit/df66eea201635dbd48f4ba638b8f7359ad819dd6
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-05-04T10:21:54+02:00
Commit Message:
GRAPHICS: MACGUI: Fixed getting coordinates on chunk edge
Changed paths:
graphics/macgui/mactext.cpp
diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp
index b535757682..4d3fc79b1b 100644
--- a/graphics/macgui/mactext.cpp
+++ b/graphics/macgui/mactext.cpp
@@ -731,6 +731,7 @@ void MacText::getRowCol(int x, int y, int *sx, int *sy, int *row, int *col) {
Common::U32String str = _textLines[nrow].chunks[chunk].text;
ncol = mcol;
+ nsx = pwidth;
for (int i = str.size(); i >= 0; i--) {
int strw = _textLines[nrow].chunks[chunk].getFont()->getStringWidth(str);
More information about the Scummvm-git-logs
mailing list