aboutsummaryrefslogtreecommitdiff
path: root/engines/prince/mhwanh.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2014-10-28 16:21:53 +0200
committerFilippos Karapetis2014-10-28 16:21:53 +0200
commit0f0ca25e4321b978370e1f7d325fd31f144d0ca1 (patch)
treed42463dfefcf09e5b2e6b7e62d693b890f8d040e /engines/prince/mhwanh.cpp
parent8d11226723964d754dff2efca35d082e25affae3 (diff)
downloadscummvm-rg350-0f0ca25e4321b978370e1f7d325fd31f144d0ca1.tar.gz
scummvm-rg350-0f0ca25e4321b978370e1f7d325fd31f144d0ca1.tar.bz2
scummvm-rg350-0f0ca25e4321b978370e1f7d325fd31f144d0ca1.zip
PRINCE: Remove trailing whitespace
Diffstat (limited to 'engines/prince/mhwanh.cpp')
-rw-r--r--engines/prince/mhwanh.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/prince/mhwanh.cpp b/engines/prince/mhwanh.cpp
index ef94ef71f9..608ccc23d7 100644
--- a/engines/prince/mhwanh.cpp
+++ b/engines/prince/mhwanh.cpp
@@ -38,7 +38,7 @@ MhwanhDecoder::~MhwanhDecoder() {
void MhwanhDecoder::destroy() {
if (_surface != nullptr) {
_surface->free();
- delete _surface;
+ delete _surface;
_surface = nullptr;
}
if (_palette != nullptr) {
@@ -57,7 +57,7 @@ bool MhwanhDecoder::loadStream(Common::SeekableReadStream &stream) {
_palette[i * 3] = stream.readByte();
_palette[i * 3 + 1] = stream.readByte();
_palette[i * 3 + 2] = stream.readByte();
- }
+ }
_surface = new Graphics::Surface();
_surface->create(640, 480, Graphics::PixelFormat::createFormatCLUT8());