aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Marshall <jmarshall@never.you.mind>2011-03-26 19:10:40 +1300
committerJonathan Marshall <jmarshall@never.you.mind>2011-03-26 19:11:01 +1300
commit3882b740063291e93f239ff902d1d3e179a08c28 (patch)
treeed035d7e3c1f1afc217cc9b9814f6543b212c502
parent6fc60315646d0b9db3f1d3847fcf89384aeca74c (diff)
don't zero pad the disc number infolabel
-rw-r--r--xbmc/GUIInfoManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/GUIInfoManager.cpp b/xbmc/GUIInfoManager.cpp
index ca4f1eee09..fdf01a9c07 100644
--- a/xbmc/GUIInfoManager.cpp
+++ b/xbmc/GUIInfoManager.cpp
@@ -3766,7 +3766,7 @@ CStdString CGUIInfoManager::GetItemLabel(const CFileItem *item, int info) const
{
CStdString disc;
if (item->HasMusicInfoTag() && item->GetMusicInfoTag()->GetDiscNumber() > 0)
- disc.Format("%02i", item->GetMusicInfoTag()->GetDiscNumber());
+ disc.Format("%i", item->GetMusicInfoTag()->GetDiscNumber());
return disc;
}
case LISTITEM_ARTIST: