mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
- channellist: respect g_settings.channellist_show_numbers in history mode too (first quick'n'dirty version)
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -2123,8 +2123,8 @@ void CChannelList::paintItem(int pos, const bool firstpaint)
|
||||
}
|
||||
|
||||
int l=0;
|
||||
if (this->historyMode)
|
||||
l = snprintf(nameAndDescription, sizeof(nameAndDescription), ": %d %s", chan->number, chan->getName().c_str());
|
||||
if (this->historyMode && g_settings.channellist_show_numbers)
|
||||
l = snprintf(nameAndDescription, sizeof(nameAndDescription), "%d: %s", chan->number, chan->getName().c_str());
|
||||
else
|
||||
l = snprintf(nameAndDescription, sizeof(nameAndDescription), "%s", chan->getName().c_str());
|
||||
|
||||
|
Reference in New Issue
Block a user