channellist: disable channel numbers in history mode

This commit is contained in:
vanhofen
2023-07-16 20:27:03 +02:00
committed by Thilo Graf
parent 9c641efdfc
commit 5cedd0c384

View File

@@ -2176,9 +2176,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();