mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 07:51:11 +02:00
channellist: respect g_settings.channellist_show_numbers in history mode too (first quick'n'dirty version)
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0c4d842ce6
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-03-08 (Fri, 08 Mar 2019)
Origin message was:
------------------
- channellist: respect g_settings.channellist_show_numbers in history mode too (first quick'n'dirty version)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -2124,8 +2124,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