[Scummvm-cvs-logs] scummvm master -> e9e2d6ccb964e4b8db77f8d65bc0f0f01f48c95a
bluegr
bluegr at gmail.com
Mon Dec 17 18:01:59 CET 2012
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:
e9e2d6ccb9 MOHAWK: Initialize the empty cursor before setting it inside setCursor()
Commit: e9e2d6ccb964e4b8db77f8d65bc0f0f01f48c95a
https://github.com/scummvm/scummvm/commit/e9e2d6ccb964e4b8db77f8d65bc0f0f01f48c95a
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2012-12-17T09:01:03-08:00
Commit Message:
MOHAWK: Initialize the empty cursor before setting it inside setCursor()
Changed paths:
engines/mohawk/cursors.cpp
diff --git a/engines/mohawk/cursors.cpp b/engines/mohawk/cursors.cpp
index 7962379..cdb4e14 100644
--- a/engines/mohawk/cursors.cpp
+++ b/engines/mohawk/cursors.cpp
@@ -106,7 +106,7 @@ void MystCursorManager::hideCursor() {
void MystCursorManager::setCursor(uint16 id) {
// Zero means empty cursor
if (id == 0) {
- static const byte emptyCursor[4];
+ static const byte emptyCursor[4] = { 0, 0, 0, 0 };
CursorMan.replaceCursor(&emptyCursor, 2, 2, 0, 0, 0);
return;
}
More information about the Scummvm-git-logs
mailing list