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


Origin commit data
------------------
Branch: ni/coolstream
Commit: 951acc4aff
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2011-11-22 (Tue, 22 Nov 2011)



------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2011-11-22 17:10:19 +00:00
parent 314e6b146f
commit d29902efd5

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;