From e0f9d01d120fea235d0cdca3640a84d874d9e2dc Mon Sep 17 00:00:00 2001 From: vanhofen Date: Fri, 14 Jul 2023 22:16:30 +0200 Subject: [PATCH] channellist: offset fixes for later/primetime view Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/05ccee62a418c5f3384f4e7118f21ca1053a035d Author: vanhofen Date: 2023-07-14 (Fri, 14 Jul 2023) Origin message was: ------------------ - channellist: offset fixes for later/primetime view ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/channellist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index 0aca8c50a..50d2aed5b 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -2241,7 +2241,7 @@ void CChannelList::paintItem(int pos, const bool firstpaint) struct tm *pStartZeit = localtime(&p_event->startTime); snprintf(tmp, sizeof(tmp), "%02d:%02d", pStartZeit->tm_hour, pStartZeit->tm_min); - g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_NUMBER]->RenderString(x + OFFSET_INNER_MID + numwidth + OFFSET_INNER_MID, ypos + fheight, width - OFFSET_INNER_MID - numwidth - pb_offset - pb_width - SCROLLBAR_WIDTH, tmp, ecolor, fheight); + g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_NUMBER]->RenderString(x + OFFSET_INNER_MID + numwidth + pb_offset, ypos + fheight, pb_width, tmp, ecolor, fheight); } }