Attempt to fix osd preset change: if CRT is current, switch to LCD still show scroll-bar

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1882 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
focus
2011-11-22 17:10:19 +00:00
parent 1d4b37a262
commit 951acc4aff

View File

@@ -742,7 +742,10 @@ void CMenuWidget::paint()
CVFD::getInstance()->setMode(CVFD::MODE_MENU_UTF8, nameString.c_str());
height = wanted_height;
/* FIXME why wanted_height needed ? in ::exec it set to height,
* here height set to wanted_height ?? */
//height = wanted_height;
height = frameBuffer->getScreenHeight() / 20 * 18; /* make sure its a multiple of 2 */
width = min_width;
int wi, hi;