aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn Kaijser <martijn@xbmc.org>2016-02-07 09:34:26 +0100
committerMartijn Kaijser <martijn@xbmc.org>2016-02-07 09:34:26 +0100
commite48ca089403f17598412eb52a05c68dd899d649d (patch)
tree46fc3eff29a27a083c13cd7d56b478d3f43cbb2c
parentfb387fa0554afbf4e434bd93ca0d19bb3e9ce88f (diff)
parentbfeba8c7e9bf5c5bc066e15ff2b20c31ef9f0a0f (diff)
Merge pull request #9065 from FernetMenta/boost
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)