From b936442b79b7dab1ca0bba4733e70004d1d3d6f3 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 2 Aug 2016 12:03:42 +0200 Subject: [PATCH] epgview: completion of 5cb90f64d2320e259b32a3b8f1e95243c39cd7aa Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/6e3ef2375b061e24725208f5e6f549b900e0226a Author: vanhofen Date: 2016-08-02 (Tue, 02 Aug 2016) Origin message was: ------------------ - epgview: completion of 5cb90f64d2320e259b32a3b8f1e95243c39cd7aa --- 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 a08645528..934fc9b07 100644 --- a/src/gui/epgview.cpp +++ b/src/gui/epgview.cpp @@ -194,7 +194,7 @@ void CEpgData::processTextToArray(std::string text, int screening, bool has_cove // check the wordwidth - add to this line if size ok int aktWordWidth = g_Font[SNeutrinoSettings::FONT_TYPE_EPG_INFO2]->getRenderWidth(aktWord); - if ((aktWordWidth+aktWidth)<(ox - 20 - 15 - (has_cover? (std::min((sb-10)*342/513,342)) :0))) + if ((aktWordWidth+aktWidth)<(ox - 20 - 15 - (has_cover? ((ox/4)+10) :0))) {//space ok, add aktWidth += aktWordWidth; aktLine += aktWord;