diff options
author | Einar Johan Trøan Sømåen | 2013-01-25 09:00:46 +0100 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-01-26 13:44:46 +0100 |
commit | 3b77a97b404dd423005ae1a3545ca028c48f3f01 (patch) | |
tree | c5e517e20bab0722c1eb2372722ad8c6358964ed /engines/wintermute | |
parent | 866961bde9302d20f4ce6aabfead01dd8111d526 (diff) | |
download | scummvm-rg350-3b77a97b404dd423005ae1a3545ca028c48f3f01.tar.gz scummvm-rg350-3b77a97b404dd423005ae1a3545ca028c48f3f01.tar.bz2 scummvm-rg350-3b77a97b404dd423005ae1a3545ca028c48f3f01.zip |
WINTERMUTE: Don't cast bool to pointer.
Diffstat (limited to 'engines/wintermute')
-rw-r--r-- | engines/wintermute/base/base_save_thumb_helper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/base/base_save_thumb_helper.cpp b/engines/wintermute/base/base_save_thumb_helper.cpp index 17376e4c49..3899ece59b 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 |