From 93796e04fd11bc4d13a88071200ecf01a506a6d0 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sun, 29 Apr 2018 03:13:08 +0200 Subject: [PATCH] epgview: use OFFSET define instead of fixed value Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/da603e85be8b32f170e6fbdcaf6414a5b8287ab0 Author: vanhofen Date: 2018-04-29 (Sun, 29 Apr 2018) Origin message was: ------------------ - epgview: use OFFSET define instead of fixed value ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/epgview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/epgview.cpp b/src/gui/epgview.cpp index 1e03dc76e..abcb57506 100644 --- a/src/gui/epgview.cpp +++ b/src/gui/epgview.cpp @@ -304,7 +304,7 @@ void CEpgData::showText(int startPos, int ypos, bool has_cover, bool fullClear) stars = imdb_stars / max_stars; // recalculate stars value for starbar //create and paint ranking banner - CEPGRateBanner rate_bar(sx+10+cover_offset, y+OFFSET_INNER_MID, (size_t)stars, (size_t)max_stars, provider_logo); + CEPGRateBanner rate_bar(sx+OFFSET_INNER_MID+cover_offset, y+OFFSET_INNER_MID, (size_t)stars, (size_t)max_stars, provider_logo); rate_bar.paint(); if (imdb_active) //TODO: unify imdb and tmdb