mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
epgview: completion of 9786102aa8
Origin commit data ------------------ Branch: ni/coolstream Commit:6e3ef2375b
Author: vanhofen <vanhofen@gmx.de> Date: 2016-08-02 (Tue, 02 Aug 2016) Origin message was: ------------------ - epgview: completion of9786102aa8
------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit
This commit is contained in:
@@ -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
|
// check the wordwidth - add to this line if size ok
|
||||||
int aktWordWidth = g_Font[SNeutrinoSettings::FONT_TYPE_EPG_INFO2]->getRenderWidth(aktWord);
|
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
|
{//space ok, add
|
||||||
aktWidth += aktWordWidth;
|
aktWidth += aktWordWidth;
|
||||||
aktLine += aktWord;
|
aktLine += aktWord;
|
||||||
|
Reference in New Issue
Block a user