Skip to content

Commit

Permalink
[fix] - add missing infolabels - they where only in getint till now...
Browse files Browse the repository at this point in the history
  • Loading branch information
Memphiz committed Feb 8, 2012
1 parent 11a99be commit 8ccd820
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion xbmc/GUIInfoManager.cpp
Expand Up @@ -1131,10 +1131,13 @@ CStdString CGUIInfoManager::GetLabel(int info, int contextWindow)
if(g_application.IsPlaying() && g_application.m_pPlayer)
g_application.m_pPlayer->GetChapterName(strLabel);
break;
case PLAYER_PROGRESS:
case PLAYER_PROGRESS_CACHE:
case PLAYER_SEEKBAR:
case PLAYER_CACHELEVEL:
{
int iLevel = 0;
if(g_application.IsPlaying() && GetInt(iLevel, PLAYER_CACHELEVEL) && iLevel >= 0)
if(g_application.IsPlaying() && GetInt(iLevel, info) && iLevel >= 0)
strLabel.Format("%i", iLevel);
}
break;
Expand Down

0 comments on commit 8ccd820

Please sign in to comment.