[Scummvm-cvs-logs] scummvm master -> 8004a82f29c7ab6613367e7dde01d3c7af437316
clone2727
clone2727 at gmail.com
Mon Aug 29 16:38:55 CEST 2011
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:
8004a82f29 MOHAWK: Fix using the Mac binary for Riven cursors
Commit: 8004a82f29c7ab6613367e7dde01d3c7af437316
https://github.com/scummvm/scummvm/commit/8004a82f29c7ab6613367e7dde01d3c7af437316
Author: Matthew Hoops (clone2727 at gmail.com)
Date: 2011-08-29T07:35:08-07:00
Commit Message:
MOHAWK: Fix using the Mac binary for Riven cursors
Changed paths:
engines/mohawk/cursors.cpp
diff --git a/engines/mohawk/cursors.cpp b/engines/mohawk/cursors.cpp
index cbd17e0..8c72c98 100644
--- a/engines/mohawk/cursors.cpp
+++ b/engines/mohawk/cursors.cpp
@@ -199,12 +199,10 @@ void MacCursorManager::setCursor(uint16 id) {
if (!stream)
stream = _resFork->getResource(MKTAG('C','U','R','S'), id);
- if (stream) {
+ if (stream)
setMacCursor(stream);
- delete stream;
- } else {
+ else
setDefaultCursor();
- }
}
LivingBooksCursorManager_v2::LivingBooksCursorManager_v2() {
More information about the Scummvm-git-logs
mailing list