mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
audioplayer: change format of title number
Origin commit data
------------------
Commit: b68e1981d1
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-01-31 (Fri, 31 Jan 2020)
Origin message was:
------------------
- audioplayer: change format of title number
This commit is contained in:
@@ -1671,7 +1671,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