aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspiff_ <spiff_@svn>2010-05-23 22:34:05 +0000
committerspiff_ <spiff_@svn>2010-05-23 22:34:05 +0000
commitbac618d36a5629580279df5fd6fbe38fe8214f6e (patch)
tree189997c08f712dd9829cfec2133ea72daf751010
parent803d74c32097d9af8a5dd8df4932ba52ec426e77 (diff)
fixed: sanity check to make sure we actually have entries in the map
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30471 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r--xbmc/GUIDialogContentSettings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/GUIDialogContentSettings.cpp b/xbmc/GUIDialogContentSettings.cpp
index a10a541fe3..c61a27af9f 100644
--- a/xbmc/GUIDialogContentSettings.cpp
+++ b/xbmc/GUIDialogContentSettings.cpp
@@ -295,7 +295,7 @@ void CGUIDialogContentSettings::FillListControl()
int selectedIndex = 0;
m_vecItems->Clear();
- if (m_scrapers.size() == 0)
+ if (m_scrapers.size() == 0 || m_scrapers.find(m_content) == m_scrapers.end())
return;
for (IVECADDONS iter=m_scrapers.find(m_content)->second.begin();iter!=m_scrapers.find(m_content)->second.end();++iter)