[Scummvm-git-logs] scummvm master -> 540fdb1de66e51833b060663ffaa41e3a374f991

sev- sev at scummvm.org
Mon Jul 20 13:06:01 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:
540fdb1de6 GRAPHICS: MACGUI: Initialize newly added class variables


Commit: 540fdb1de66e51833b060663ffaa41e3a374f991
    https://github.com/scummvm/scummvm/commit/540fdb1de66e51833b060663ffaa41e3a374f991
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-07-20T15:05:45+02:00

Commit Message:
GRAPHICS: MACGUI: Initialize newly added class variables

Changed paths:
    graphics/macgui/macwindowmanager.cpp


diff --git a/graphics/macgui/macwindowmanager.cpp b/graphics/macgui/macwindowmanager.cpp
index d1d7bc1b8c..a135ec50de 100644
--- a/graphics/macgui/macwindowmanager.cpp
+++ b/graphics/macgui/macwindowmanager.cpp
@@ -191,7 +191,8 @@ MacWindowManager::MacWindowManager(uint32 mode, MacPatterns *patterns) {
 
 	_fontMan = new MacFontManager(mode);
 
-	_cursorType = kMacCursorArrow;
+	_cursor = nullptr;
+	_cursorType = _tempType = kMacCursorArrow;
 	CursorMan.replaceCursorPalette(palette, 0, ARRAYSIZE(palette) / 3);
 	CursorMan.replaceCursor(macCursorArrow, 11, 16, 1, 1, 3);
 	CursorMan.showMouse(true);




More information about the Scummvm-git-logs mailing list