[Scummvm-git-logs] scummvm master -> 476bbb3d6e8b4ee8a64e1ce58e94070294e35536

sev- noreply at scummvm.org
Fri Jan 2 22:24:46 UTC 2026


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:
476bbb3d6e GRAPHICS: MACGUI: Fix compilation


Commit: 476bbb3d6e8b4ee8a64e1ce58e94070294e35536
    https://github.com/scummvm/scummvm/commit/476bbb3d6e8b4ee8a64e1ce58e94070294e35536
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2026-01-02T23:24:30+01:00

Commit Message:
GRAPHICS: MACGUI: Fix compilation

Changed paths:
    graphics/macgui/macwidget.cpp


diff --git a/graphics/macgui/macwidget.cpp b/graphics/macgui/macwidget.cpp
index f5bd1b49851..ab88ede6d0a 100644
--- a/graphics/macgui/macwidget.cpp
+++ b/graphics/macgui/macwidget.cpp
@@ -166,8 +166,11 @@ Common::Point MacWidget::getAbsolutePos() {
 
 Common::Rect MacWidget::getAbsoluteDimensions() {
 	Common::Point absPos = getAbsolutePos();
+	Common::Rect dims = getDimensions();
 
-	return getDimensions().translate(absPos.x, absPos.y);
+	dims.translate(absPos.x, absPos.y);
+
+	return dims;
 }
 
 } // End of namespace Graphics




More information about the Scummvm-git-logs mailing list