aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/font
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-07-25 21:05:03 +0200
committerEinar Johan Trøan Sømåen2012-07-25 21:05:03 +0200
commitfa96c9ea187cdb26e9f1ce048c9132f723e25df1 (patch)
treef63664bf2319b9c326800ce9f734f7c43e013713 /engines/wintermute/base/font
parentf2379252f46187cfc4030765282374e5f086675f (diff)
downloadscummvm-rg350-fa96c9ea187cdb26e9f1ce048c9132f723e25df1.tar.gz
scummvm-rg350-fa96c9ea187cdb26e9f1ce048c9132f723e25df1.tar.bz2
scummvm-rg350-fa96c9ea187cdb26e9f1ce048c9132f723e25df1.zip
WINTERMUTE: "delete []" -> "delete[]"
Diffstat (limited to 'engines/wintermute/base/font')
-rw-r--r--engines/wintermute/base/font/base_font.cpp4
-rw-r--r--engines/wintermute/base/font/base_font_bitmap.cpp2
-rw-r--r--engines/wintermute/base/font/base_font_truetype.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/engines/wintermute/base/font/base_font.cpp b/engines/wintermute/base/font/base_font.cpp
index e9d245782a..7bffbc35c8 100644
--- a/engines/wintermute/base/font/base_font.cpp
+++ b/engines/wintermute/base/font/base_font.cpp
@@ -85,7 +85,7 @@ bool BaseFont::loadFile(const char * Filename)
if(DID_FAIL(ret = loadBuffer(Buffer))) _gameRef->LOG(0, "Error parsing FONT file '%s'", filename);
- delete [] Buffer;
+ delete[] Buffer;
return ret;
}
@@ -198,7 +198,7 @@ bool BaseFont::isTrueType(BaseGame *gameRef, const char *filename) {
if (parser.getCommand((char **)&WorkBuffer, commands, (char **)&params) == TOKEN_TTFONT)
ret = true;
- delete [] buffer;
+ delete[] buffer;
return ret;
}
diff --git a/engines/wintermute/base/font/base_font_bitmap.cpp b/engines/wintermute/base/font/base_font_bitmap.cpp
index 2e752d4f2e..dd6c6da327 100644
--- a/engines/wintermute/base/font/base_font_bitmap.cpp
+++ b/engines/wintermute/base/font/base_font_bitmap.cpp
@@ -255,7 +255,7 @@ bool BaseFontBitmap::loadFile(const char *filename) {
if (DID_FAIL(ret = loadBuffer(buffer))) _gameRef->LOG(0, "Error parsing FONT file '%s'", filename);
- delete [] buffer;
+ delete[] buffer;
return ret;
}
diff --git a/engines/wintermute/base/font/base_font_truetype.cpp b/engines/wintermute/base/font/base_font_truetype.cpp
index c371177bac..dd5d006556 100644
--- a/engines/wintermute/base/font/base_font_truetype.cpp
+++ b/engines/wintermute/base/font/base_font_truetype.cpp
@@ -419,7 +419,7 @@ bool BaseFontTT::loadFile(const char *filename) {
if (DID_FAIL(ret = loadBuffer(buffer))) _gameRef->LOG(0, "Error parsing TTFONT file '%s'", filename);
- delete [] buffer;
+ delete[] buffer;
return ret;
}