audioplayer: minor format changes in title box

Origin commit data
------------------
Branch: ni/coolstream
Commit: 31df95ef58
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-06-18 (Sun, 18 Jun 2017)

Origin message was:
------------------
- audioplayer: minor format changes in title box

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-06-18 23:27:45 +02:00
parent 0db970db37
commit a70843710e

View File

@@ -1766,13 +1766,13 @@ void CAudioPlayerGui::paintTitleBox()
else if (g_settings.audioplayer_display == TITLE_ARTIST) else if (g_settings.audioplayer_display == TITLE_ARTIST)
{ {
tmp = m_curr_audiofile.MetaData.title; tmp = m_curr_audiofile.MetaData.title;
tmp += " / "; tmp += " - ";
tmp += m_curr_audiofile.MetaData.artist; tmp += m_curr_audiofile.MetaData.artist;
} }
else //if (g_settings.audioplayer_display == ARTIST_TITLE) else //if (g_settings.audioplayer_display == ARTIST_TITLE)
{ {
tmp = m_curr_audiofile.MetaData.artist; tmp = m_curr_audiofile.MetaData.artist;
tmp += " / "; tmp += " - ";
tmp += m_curr_audiofile.MetaData.title; tmp += m_curr_audiofile.MetaData.title;
} }
w = g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getRenderWidth(tmp); w = g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getRenderWidth(tmp);