diff options
author | spiff_ <spiff_@svn> | 2010-01-16 00:09:12 +0000 |
---|---|---|
committer | spiff_ <spiff_@svn> | 2010-01-16 00:09:12 +0000 |
commit | 0015945f03b1bd668ed54d43a8ce80a2e7249e1c (patch) | |
tree | b455d38bbbe50deef60b5faa27cee137ef1d6c9a | |
parent | b63bfd29017a9c600a98c586b696ca8a08de8a2a (diff) |
fixed: missing parantheses
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@26892 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r-- | xbmc/utils/GUIInfoManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/utils/GUIInfoManager.cpp b/xbmc/utils/GUIInfoManager.cpp index cb3001ea8b..3f47f2341d 100644 --- a/xbmc/utils/GUIInfoManager.cpp +++ b/xbmc/utils/GUIInfoManager.cpp @@ -498,7 +498,7 @@ int CGUIInfoManager::TranslateSingleString(const CStdString &strCondition) else if (info.Left(9).Equals("timespeed")) return AddMultiInfo(GUIInfo(PLAYER_TIME_SPEED, TranslateTimeFormat(info.Mid(9)))); else if (info.Left(4).Equals("time")) return AddMultiInfo(GUIInfo(PLAYER_TIME, TranslateTimeFormat(info.Mid(4)))); else if (info.Left(8).Equals("duration")) return AddMultiInfo(GUIInfo(PLAYER_DURATION, TranslateTimeFormat(info.Mid(8)))); - else if (info.Left(9).Equals("property(")) return AddListItemProp(info.Mid(9, info.GetLength() - 10), MUSICPLAYER_PROPERTY_OFFSET); + else if (info.Left(9).Equals("property(")) { printf(" add %s\n",info.Mid(9,info.GetLength()-10).c_str()); return AddListItemProp(info.Mid(9, info.GetLength() - 10), MUSICPLAYER_PROPERTY_OFFSET);} else ret = TranslateMusicPlayerString(strTest.Mid(12)); } @@ -961,7 +961,7 @@ CStdString CGUIInfoManager::GetLabel(int info, int contextWindow) return GetPictureLabel(info); if (info >= LISTITEM_PROPERTY_START+MUSICPLAYER_PROPERTY_OFFSET && - info - LISTITEM_PROPERTY_START+MUSICPLAYER_PROPERTY_OFFSET < (int)m_listitemProperties.size()) + info - (LISTITEM_PROPERTY_START+MUSICPLAYER_PROPERTY_OFFSET) < (int)m_listitemProperties.size()) { // grab the property if (!m_currentFile) return ""; |