aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2012-07-25 21:09:15 +0200
committerJohannes Schickel2012-07-25 21:09:15 +0200
commitc7d99c155d28cdd609075278e94aaf91563297e4 (patch)
tree2c3e51d368791ffb40e8388c8216ca8edfa5f7fd
parent50a93c2e711f169089f6cfc0e09b82be0cce3210 (diff)
downloadscummvm-rg350-c7d99c155d28cdd609075278e94aaf91563297e4.tar.gz
scummvm-rg350-c7d99c155d28cdd609075278e94aaf91563297e4.tar.bz2
scummvm-rg350-c7d99c155d28cdd609075278e94aaf91563297e4.zip
KYRA: Fix delete[] formatting.
-rw-r--r--engines/kyra/eobcommon.cpp4
-rw-r--r--engines/kyra/screen_eob.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/kyra/eobcommon.cpp b/engines/kyra/eobcommon.cpp
index a63f123258..fadb1066e0 100644
--- a/engines/kyra/eobcommon.cpp
+++ b/engines/kyra/eobcommon.cpp
@@ -770,7 +770,7 @@ void EoBCoreEngine::releaseItemsAndDecorationsShapes() {
if (_spellShapes) {
for (int i = 0; i < 4; i++) {
if (_spellShapes[i])
- delete [] _spellShapes[i];
+ delete[] _spellShapes[i];
}
delete[] _spellShapes;
}
@@ -820,7 +820,7 @@ void EoBCoreEngine::releaseItemsAndDecorationsShapes() {
if (_firebeamShapes[i])
delete[] _firebeamShapes[i];
}
- delete []_firebeamShapes;
+ delete[] _firebeamShapes;
}
delete[] _redSplatShape;
diff --git a/engines/kyra/screen_eob.cpp b/engines/kyra/screen_eob.cpp
index e06ca42c40..ae75c111b4 100644
--- a/engines/kyra/screen_eob.cpp
+++ b/engines/kyra/screen_eob.cpp
@@ -607,7 +607,7 @@ uint8 *Screen_EoB::encodeShape(uint16 x, uint16 y, uint16 w, uint16 h, bool enco
srcLineStart += SCREEN_W;
src = srcLineStart;
}
- delete [] colorMap;
+ delete[] colorMap;
}
return shp;