aboutsummaryrefslogtreecommitdiff
path: root/engines/agi
diff options
context:
space:
mode:
authorJohannes Schickel2008-05-07 14:31:45 +0000
committerJohannes Schickel2008-05-07 14:31:45 +0000
commit600ab40bcab24d3c1c8d98d3fefefa6026f03382 (patch)
tree37d052c958cb62aa947bc97c651d2d49a240f81f /engines/agi
parentf65e9a17c34daeaa93b7de99b639cddcc6997abe (diff)
downloadscummvm-rg350-600ab40bcab24d3c1c8d98d3fefefa6026f03382.tar.gz
scummvm-rg350-600ab40bcab24d3c1c8d98d3fefefa6026f03382.tar.bz2
scummvm-rg350-600ab40bcab24d3c1c8d98d3fefefa6026f03382.zip
Changed all delete [] usages to delete[].
svn-id: r31927
Diffstat (limited to 'engines/agi')
-rw-r--r--engines/agi/preagi_mickey.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/agi/preagi_mickey.cpp b/engines/agi/preagi_mickey.cpp
index 6944eee9f2..08f8969ca3 100644
--- a/engines/agi/preagi_mickey.cpp
+++ b/engines/agi/preagi_mickey.cpp
@@ -238,7 +238,7 @@ bool Mickey::checkMenu() {
memcpy(buffer, &menu, sizeof(MSA_MENU));
getMenuSel(buffer, &iSel0, &iSel1);
- delete [] buffer;
+ delete[] buffer;
return parse(menu.cmd[iSel0].data[iSel1], menu.arg[iSel0].data[iSel1]);
}
@@ -645,7 +645,7 @@ void Mickey::playSound(ENUM_MSA_SOUND iSound) {
case Common::EVENT_LBUTTONUP:
case Common::EVENT_RBUTTONUP:
case Common::EVENT_KEYDOWN:
- delete [] buffer;
+ delete[] buffer;
return;
default:
break;
@@ -657,7 +657,7 @@ void Mickey::playSound(ENUM_MSA_SOUND iSound) {
break;
}
- delete [] buffer;
+ delete[] buffer;
}
// Graphics
@@ -893,7 +893,7 @@ void Mickey::drawLogo() {
_vm->_picture->showPic(10, 10, w, h);
- delete [] buffer;
+ delete[] buffer;
}
void Mickey::animate() {