mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
- audioplayer: change format of title number
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -1675,7 +1675,7 @@ void CAudioPlayerGui::paintItem(int pos)
|
||||
if (currpos < m_playlist.size())
|
||||
{
|
||||
char sNr[20];
|
||||
sprintf(sNr, "%2d : ", currpos + 1);
|
||||
sprintf(sNr, (currpos + 1) < 10 ? "%02d: " : "%d: ", currpos + 1);
|
||||
std::string tmp = sNr;
|
||||
getFileInfoToDisplay(tmp, m_playlist[currpos]);
|
||||
|
||||
|
Reference in New Issue
Block a user