diff options
author | Einar Johan Trøan Sømåen | 2012-07-26 19:41:18 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-07-26 19:41:18 +0200 |
commit | 4eda234611bd77f053defe9e61d592b308270eaa (patch) | |
tree | cb0a437641b74b60b325ac9ccaa9b63dacab897d /engines/wintermute/base/font/base_font_truetype.cpp | |
parent | eb22e36d5e12b64442ce23c656227483dd9cf61e (diff) | |
download | scummvm-rg350-4eda234611bd77f053defe9e61d592b308270eaa.tar.gz scummvm-rg350-4eda234611bd77f053defe9e61d592b308270eaa.tar.bz2 scummvm-rg350-4eda234611bd77f053defe9e61d592b308270eaa.zip |
WINTERMUTE: Replace BaseArray with a templated subclass of Common::Array.
This needs additional cleanup, but compiles and runs at this point.
Diffstat (limited to 'engines/wintermute/base/font/base_font_truetype.cpp')
-rw-r--r-- | engines/wintermute/base/font/base_font_truetype.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/base/font/base_font_truetype.cpp b/engines/wintermute/base/font/base_font_truetype.cpp index e14d79cb42..ac6430d4c9 100644 --- a/engines/wintermute/base/font/base_font_truetype.cpp +++ b/engines/wintermute/base/font/base_font_truetype.cpp @@ -72,7 +72,7 @@ BaseFontTT::~BaseFontTT(void) { for (int i = 0; i < _layers.getSize(); i++) {
delete _layers[i];
}
- _layers.removeAll();
+ _layers.clear();
delete[] _fontFile;
_fontFile = NULL;
|