aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/FontGlyphCache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/FontGlyphCache.cpp')
-rw-r--r--engines/wintermute/FontGlyphCache.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/wintermute/FontGlyphCache.cpp b/engines/wintermute/FontGlyphCache.cpp
index 6181fb2704..04c7095dd1 100644
--- a/engines/wintermute/FontGlyphCache.cpp
+++ b/engines/wintermute/FontGlyphCache.cpp
@@ -36,8 +36,8 @@ FontGlyphCache::~FontGlyphCache() {
GlyphInfoMap::iterator it;
for (it = m_Glyphs.begin(); it != m_Glyphs.end(); ++it) {
- delete it->second;
- it->second = NULL;
+ delete it->_value;
+ it->_value = NULL;
}
}
@@ -56,7 +56,7 @@ GlyphInfo *FontGlyphCache::GetGlyph(wchar_t ch) {
it = m_Glyphs.find(ch);
if (it == m_Glyphs.end()) return NULL;
- return it->second;
+ return it->_value;
}
//////////////////////////////////////////////////////////////////////////