mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-21 19:51:49 +00:00
SWORD25: Return 0 instead of false in Screenshot::createThumbnail.
This should "fix" a g++ warning.
This commit is contained in:
parent
163d57ba93
commit
21fb4af154
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user