aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelupus <elupus@svn>2010-04-20 23:52:37 +0000
committerelupus <elupus@svn>2010-04-20 23:52:37 +0000
commit651ecd7451d8407a31be342484a985022f2609e0 (patch)
tree291198b1781fe76119d234cd182c5e92fcf4462a
parente41710e3ddc1d3bbb2c154ac9ff9686b4b586648 (diff)
changed: don't crash if no scraper is found for a tvshow that we have requested to rescan
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@29410 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r--xbmc/GUIWindowVideoBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/GUIWindowVideoBase.cpp b/xbmc/GUIWindowVideoBase.cpp
index ae64511be4..939ac562cc 100644
--- a/xbmc/GUIWindowVideoBase.cpp
+++ b/xbmc/GUIWindowVideoBase.cpp
@@ -1164,7 +1164,7 @@ bool CGUIWindowVideoBase::OnContextButton(int itemNumber, CONTEXT_BUTTON button)
if (item->IsVideoDb())
strPath = item->GetVideoInfoTag()->m_strPath;
- if (info->Content() == CONTENT_NONE)
+ if (!info || info->Content() == CONTENT_NONE)
return false;
if (item->m_bIsFolder)