channellist: disable channel numbers in history mode

Origin commit data
------------------
Branch: ni/coolstream
Commit: 5fe6a14fa1
Author: vanhofen <vanhofen@gmx.de>
Date: 2023-07-16 (Sun, 16 Jul 2023)

Origin message was:
------------------
- channellist: disable channel numbers in history mode

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2023-07-16 20:27:03 +02:00
parent e0f9d01d12
commit 554c0591b7

View File

@@ -2177,9 +2177,11 @@ void CChannelList::paintItem(int pos, const bool firstpaint)
g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_NUMBER]->RenderString(numpos, ypos + fheight, numwidth, tmp, color, fheight);
}
/*
if (this->historyMode && g_settings.channellist_show_numbers)
snprintf(chan_name, sizeof(chan_name), "%d: %s", chan->number, chan->getName().c_str());
else
*/
snprintf(chan_name, sizeof(chan_name), "%s", chan->getName().c_str());
int pb_height = g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_NUMBER]->getDigitHeight();