[Scummvm-cvs-logs] scummvm master -> 3b77a97b404dd423005ae1a3545ca028c48f3f01

somaen einarjohants at gmail.com
Sat Jan 26 13:45:37 CET 2013


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:
3b77a97b40 WINTERMUTE: Don't cast bool to pointer.


Commit: 3b77a97b404dd423005ae1a3545ca028c48f3f01
    https://github.com/scummvm/scummvm/commit/3b77a97b404dd423005ae1a3545ca028c48f3f01
Author: Einar Johan Trøan Sømåen (einarjohants at gmail.com)
Date: 2013-01-26T04:44:46-08:00

Commit Message:
WINTERMUTE: Don't cast bool to pointer.

Changed paths:
    engines/wintermute/base/base_save_thumb_helper.cpp



diff --git a/engines/wintermute/base/base_save_thumb_helper.cpp b/engines/wintermute/base/base_save_thumb_helper.cpp
index 17376e4..3899ece 100644
--- a/engines/wintermute/base/base_save_thumb_helper.cpp
+++ b/engines/wintermute/base/base_save_thumb_helper.cpp
@@ -63,7 +63,7 @@ BaseImage *BaseSaveThumbHelper::storeThumb(bool doFlip, int width, int height) {
 		
 		BaseImage *screenshot = _gameRef->_renderer->takeScreenshot();
 		if (!screenshot) {
-			return STATUS_FAILED;
+			return NULL;
 		}
 		
 		// normal thumbnail






More information about the Scummvm-git-logs mailing list