diff options
-rw-r--r-- | xbmc/utils/LabelFormatter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/utils/LabelFormatter.cpp b/xbmc/utils/LabelFormatter.cpp index 1e71d16f34..7e94a19ca1 100644 --- a/xbmc/utils/LabelFormatter.cpp +++ b/xbmc/utils/LabelFormatter.cpp @@ -304,7 +304,7 @@ CStdString CLabelFormatter::GetMaskContent(const CMaskString &mask, const CFileI value.Format("%i kbps", item->m_dwSize); break; case 'W': // Listeners - if( !item->m_bIsFolder && music->GetListeners() != 0 ) + if( !item->m_bIsFolder && music && music->GetListeners() != 0 ) value.Format("%i %s", music->GetListeners(), g_localizeStrings.Get(music->GetListeners() == 1 ? 20454 : 20455)); break; } |