[Scummvm-git-logs] scummvm master -> 3dc6137b6f014ceb7bf71950c8e4d2444ec2d7dc
sev-
sev at scummvm.org
Wed Mar 3 15:21:16 UTC 2021
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:
3dc6137b6f GRAPHICS: MACGUI: Fix crash for first cursor undrawing
Commit: 3dc6137b6f014ceb7bf71950c8e4d2444ec2d7dc
https://github.com/scummvm/scummvm/commit/3dc6137b6f014ceb7bf71950c8e4d2444ec2d7dc
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2021-03-03T16:20:51+01:00
Commit Message:
GRAPHICS: MACGUI: Fix crash for first cursor undrawing
Changed paths:
graphics/macgui/mactext.cpp
diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp
index 560e714725..3c43106623 100644
--- a/graphics/macgui/mactext.cpp
+++ b/graphics/macgui/mactext.cpp
@@ -236,7 +236,7 @@ void MacText::init() {
_cursorRow = getLineCount() - 1;
_cursorCol = getLineCharWidth(_cursorRow);
- _cursorRect = new Common::Rect(0, 0, 1, 0);
+ _cursorRect = new Common::Rect(0, 0, 1, 1);
_cursorSurface = new ManagedSurface(1, kCursorMaxHeight, _wm->_pixelformat);
_cursorSurface->clear(_wm->_colorBlack);
More information about the Scummvm-git-logs
mailing list