mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
dont paint '-' if left align
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@329 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -1540,8 +1540,8 @@ void CChannelList::paintItem(int pos)
|
|||||||
int pb_space = prg_offset - title_offset;
|
int pb_space = prg_offset - title_offset;
|
||||||
int pb_max = pb_space - 4;
|
int pb_max = pb_space - 4;
|
||||||
if (!(p_event->description.empty())) {
|
if (!(p_event->description.empty())) {
|
||||||
|
if(!g_settings.channellist_epgtext_align_right)
|
||||||
snprintf(nameAndDescription+l, sizeof(nameAndDescription)-l," - ");
|
snprintf(nameAndDescription+l, sizeof(nameAndDescription)-l," - ");
|
||||||
unsigned int ch_name_len = g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST]->getRenderWidth(nameAndDescription, true);
|
unsigned int ch_name_len = g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST]->getRenderWidth(nameAndDescription, true);
|
||||||
unsigned int ch_desc_len = g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_DESCR]->getRenderWidth(p_event->description, true);
|
unsigned int ch_desc_len = g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_DESCR]->getRenderWidth(p_event->description, true);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user