mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +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())
|
if (currpos < m_playlist.size())
|
||||||
{
|
{
|
||||||
char sNr[20];
|
char sNr[20];
|
||||||
sprintf(sNr, "%2d : ", currpos + 1);
|
sprintf(sNr, (currpos + 1) < 10 ? "%02d: " : "%d: ", currpos + 1);
|
||||||
std::string tmp = sNr;
|
std::string tmp = sNr;
|
||||||
getFileInfoToDisplay(tmp, m_playlist[currpos]);
|
getFileInfoToDisplay(tmp, m_playlist[currpos]);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user