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 /gui/theme.cpp | |
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 'gui/theme.cpp')
-rw-r--r-- | gui/theme.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gui/theme.cpp b/gui/theme.cpp index a044769bfd..c8501c4f91 100644 --- a/gui/theme.cpp +++ b/gui/theme.cpp @@ -82,7 +82,7 @@ const Graphics::Font *Theme::loadFont(const char *filename) { font = Graphics::NewFont::loadFromCache(stream); - delete [] buffer; + delete[] buffer; buffer = 0; } unzClose(zipFile); @@ -112,7 +112,7 @@ const Graphics::Font *Theme::loadFont(const char *filename) { font = Graphics::NewFont::loadFont(stream); - delete [] buffer; + delete[] buffer; buffer = 0; } unzClose(zipFile); @@ -175,7 +175,7 @@ bool Theme::loadConfigFile(const Common::String &stylefile) { unzClose(zipFile); return false; } - delete [] buffer; + delete[] buffer; buffer = 0; } else { unzClose(zipFile); @@ -225,7 +225,7 @@ bool Theme::themeConfigUseable(const Common::String &stylefile, const Common::St unzClose(zipFile); return false; } - delete [] buffer; + delete[] buffer; buffer = 0; } } else { |