aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmarshallnz <jmarshallnz@svn>2010-06-30 00:32:05 +0000
committerjmarshallnz <jmarshallnz@svn>2010-06-30 00:32:05 +0000
commite9c8bd24aed82c7fb5a55b5c2d636534e100a2d0 (patch)
tree568e167bb3da3798a261543a9ddb4cb03a641f76
parent423782500f2ef471e0f9b1516c09f6cd6908f849 (diff)
fixed: Ensure we ignore sort tokens when jumping via SHIFT-T etc.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@31506 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r--guilib/GUIBaseContainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/guilib/GUIBaseContainer.cpp b/guilib/GUIBaseContainer.cpp
index 8d53c8e87c..f67afb56bc 100644
--- a/guilib/GUIBaseContainer.cpp
+++ b/guilib/GUIBaseContainer.cpp
@@ -435,7 +435,7 @@ void CGUIBaseContainer::OnJumpLetter(char letter)
for (unsigned int i = (offset + 1) % m_items.size(); i != offset; i = (i+1) % m_items.size())
{
CGUIListItemPtr item = m_items[i];
- if (0 == strnicmp(item->GetLabel().c_str(), m_match.c_str(), m_match.size()))
+ if (0 == strnicmp(SSortFileItem::RemoveArticles(item->GetLabel()).c_str(), m_match.c_str(), m_match.size()))
{
SelectItem(i);
return;