From 600ab40bcab24d3c1c8d98d3fefefa6026f03382 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Wed, 7 May 2008 14:31:45 +0000 Subject: Changed all delete [] usages to delete[]. svn-id: r31927 --- gui/theme.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gui/theme.cpp') 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 { -- cgit v1.2.3