diff options
author | Johannes Schickel | 2008-05-07 14:31:45 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-05-07 14:31:45 +0000 |
commit | 600ab40bcab24d3c1c8d98d3fefefa6026f03382 (patch) | |
tree | 37d052c958cb62aa947bc97c651d2d49a240f81f /engines/sword2 | |
parent | f65e9a17c34daeaa93b7de99b639cddcc6997abe (diff) | |
download | scummvm-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/sword2')
-rw-r--r-- | engines/sword2/resman.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sword2/resman.cpp b/engines/sword2/resman.cpp index 88a1f6251a..d6b8025cda 100644 --- a/engines/sword2/resman.cpp +++ b/engines/sword2/resman.cpp @@ -191,7 +191,7 @@ bool ResourceManager::init() { if (cdInf[i].cd == 0 && !Common::File::exists((char *)cdInf[i].clusterName)) { _vm->GUIErrorMessage("Broken Sword 2: Cannot find " + Common::String((char *)cdInf[i].clusterName)); - delete [] cdInf; + delete[] cdInf; return false; } } @@ -205,7 +205,7 @@ bool ResourceManager::init() { } if (j == _totalClusters) { - delete [] cdInf; + delete[] cdInf; _vm->GUIErrorMessage(Common::String(_resFiles[i].fileName) + " is not in cd.inf"); return false; } @@ -213,7 +213,7 @@ bool ResourceManager::init() { _resFiles[i].cd = cdInf[j].cd; } - delete [] cdInf; + delete[] cdInf; debug(1, "%d resources in %d cluster files", _totalResFiles, _totalClusters); for (i = 0; i < _totalClusters; i++) |