aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Hochecker <fernetmenta@online.de>2016-02-06 19:57:39 +0100
committerRainer Hochecker <fernetmenta@online.de>2016-02-06 19:57:39 +0100
commitbfeba8c7e9bf5c5bc066e15ff2b20c31ef9f0a0f (patch)
tree5d68353617e8079c5d494c4701b85f5c32551ffe
parentbd4dc931bf7677855c7308ecfd88400707133e67 (diff)
guifontcache: fix update age
-rw-r--r--xbmc/guilib/GUIFontCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/guilib/GUIFontCache.cpp b/xbmc/guilib/GUIFontCache.cpp
index ab51ca36a8..72717be5a2 100644
--- a/xbmc/guilib/GUIFontCache.cpp
+++ b/xbmc/guilib/GUIFontCache.cpp
@@ -62,7 +62,7 @@ class CGUIFontCacheImpl
}
void UpdateAge(HashIter it, size_t millis)
{
- auto range = ageMap.equal_range(millis);
+ auto range = ageMap.equal_range(it->second->m_lastUsedMillis);
for (auto ageit = range.first; ageit != range.second; ++ageit)
{
if (ageit->second == it)