diff options
author | Johannes Schickel | 2012-01-29 16:33:43 +0100 |
---|---|---|
committer | Johannes Schickel | 2012-01-29 16:33:43 +0100 |
commit | 21fb4af15494e8a39c08e88a8d51f26f6ed58dff (patch) | |
tree | 6006918f4c17a682789af4cef0c81322a61c7d3d | |
parent | 163d57ba9399664b080079abe6f4d8c0c98db89c (diff) | |
download | scummvm-rg350-21fb4af15494e8a39c08e88a8d51f26f6ed58dff.tar.gz scummvm-rg350-21fb4af15494e8a39c08e88a8d51f26f6ed58dff.tar.bz2 scummvm-rg350-21fb4af15494e8a39c08e88a8d51f26f6ed58dff.zip |
SWORD25: Return 0 instead of false in Screenshot::createThumbnail.
This should "fix" a g++ warning.
-rw-r--r-- | engines/sword25/gfx/screenshot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword25/gfx/screenshot.cpp b/engines/sword25/gfx/screenshot.cpp index de7b62fba9..0ea4bff906 100644 --- a/engines/sword25/gfx/screenshot.cpp +++ b/engines/sword25/gfx/screenshot.cpp @@ -74,7 +74,7 @@ Common::SeekableReadStream *Screenshot::createThumbnail(Graphics::Surface *data) // The source image must be 800x600. if (data->w != 800 || data->h != 600 || data->format.bytesPerPixel != 4) { error("The sreenshot dimensions have to be 800x600 in order to be saved as a thumbnail."); - return false; + return 0; } // Buffer for the output thumbnail |