channellist: use "classic" width if minitv is unused

Origin commit data
------------------
Branch: ni/coolstream
Commit: 901b7cbd38
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-02-22 (Fri, 22 Feb 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2013-02-22 16:21:24 +01:00
parent 9a48ba0583
commit 2e2487dbaa

View File

@@ -486,9 +486,13 @@ void CChannelList::calcSize()
if (g_settings.channellist_additional)
width = full_width / 3 * 2;
else
{
/* don't use 100% of screen if additional info / minitv is not used */
full_width = full_width * 76 / 99; /* same width as the old code with my settings :-) */
width = full_width;
}
height = h_max ((frameBuffer->getScreenHeight() / 20 * 17), 0);
height = h_max ((frameBuffer->getScreenHeight() / 20 * 16), 0);
x = frameBuffer->getScreenX() + (frameBuffer->getScreenWidth() - full_width) / 2;
if (x < ConnectLineBox_Width)