- audioplayer: minor format changes in title box

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2017-06-18 23:27:45 +02:00
committed by Thilo Graf
parent 64396a1c5e
commit cd6c123e56

View File

@@ -1730,13 +1730,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);