diff options
author | Einar Johan Trøan Sømåen | 2012-07-25 21:05:03 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-07-25 21:05:03 +0200 |
commit | fa96c9ea187cdb26e9f1ce048c9132f723e25df1 (patch) | |
tree | f63664bf2319b9c326800ce9f734f7c43e013713 /engines/wintermute/base/font | |
parent | f2379252f46187cfc4030765282374e5f086675f (diff) | |
download | scummvm-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.cpp | 4 | ||||
-rw-r--r-- | engines/wintermute/base/font/base_font_bitmap.cpp | 2 | ||||
-rw-r--r-- | engines/wintermute/base/font/base_font_truetype.cpp | 2 |
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 **)¶ms) == 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;
}
|