aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-06-03 01:16:20 +0200
committerEinar Johan Trøan Sømåen2012-06-03 01:16:20 +0200
commit9f66bed4b5517ffdf3caaa13a9f08f049ad2e08e (patch)
treee85a0260d19ee56bbc114480b534bb1d76ae81b7
parent071c5a1d83e4da25e0d91f2d957a0bafed1cb341 (diff)
downloadscummvm-rg350-9f66bed4b5517ffdf3caaa13a9f08f049ad2e08e.tar.gz
scummvm-rg350-9f66bed4b5517ffdf3caaa13a9f08f049ad2e08e.tar.bz2
scummvm-rg350-9f66bed4b5517ffdf3caaa13a9f08f049ad2e08e.zip
WINTERMUTE: Don't delete the fonts gotten from FontMan, they are const.
-rw-r--r--engines/wintermute/Base/BFontTT.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/wintermute/Base/BFontTT.cpp b/engines/wintermute/Base/BFontTT.cpp
index e18279a73d..d1fad44c64 100644
--- a/engines/wintermute/Base/BFontTT.cpp
+++ b/engines/wintermute/Base/BFontTT.cpp
@@ -87,9 +87,6 @@ CBFontTT::~CBFontTT(void) {
delete _font;
_font = NULL;
- delete _fallbackFont;
- _fallbackFont = NULL;
-
delete _glyphCache;
_glyphCache = NULL;
#if 0