aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorronie <ronie@users.noreply.github.com>2016-01-10 19:35:07 +0100
committerronie <ronie@users.noreply.github.com>2016-01-10 19:35:07 +0100
commit332ebb6ed2420e4104ed164208420110855b829a (patch)
tree5100ce1c600556544466d772aaffe03ab5cb19f9
parent955438e29b8d5a52a1d0c2ea2af902554eae50e5 (diff)
fix Container.SortOrder infolabel
-rw-r--r--xbmc/view/GUIViewState.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/view/GUIViewState.cpp b/xbmc/view/GUIViewState.cpp
index b3690669b2..2fa00b70b5 100644
--- a/xbmc/view/GUIViewState.cpp
+++ b/xbmc/view/GUIViewState.cpp
@@ -212,7 +212,7 @@ SortOrder CGUIViewState::GetSortOrder() const
int CGUIViewState::GetSortOrderLabel() const
{
if (m_currentSortMethod >= 0 && m_currentSortMethod < (int)m_sortMethods.size())
- if (m_sortMethods[m_currentSortMethod].m_sortDescription.sortOrder == SortOrderAscending)
+ if (m_sortMethods[m_currentSortMethod].m_sortDescription.sortOrder == SortOrderDescending)
return 585;
return 584; // default sort order label 'Ascending'