mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
- fix some warnings (patch by Houdini)
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@300 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -109,7 +109,7 @@ void CMenuWidget::Init(const std::string & Icon, const int mwidth, const int /*m
|
||||
width = 0; /* is set in paint() */
|
||||
|
||||
if (mwidth > 100) /* warn about abuse until we found all offenders... */
|
||||
fprintf(stderr, "CMenuWidget::Init (%s) (%s) mwidth over 100%: %d\n", nameString.c_str(), Icon.c_str(), mwidth);
|
||||
fprintf(stderr, "CMenuWidget::Init (%s) (%s) mwidth over 100%%: %d\n", nameString.c_str(), Icon.c_str(), mwidth);
|
||||
else
|
||||
needed_width = frameBuffer->getScreenWidth() * mwidth / 100;
|
||||
|
||||
@@ -409,9 +409,8 @@ int CMenuWidget::exec(CMenuTarget* parent, const std::string &)
|
||||
|
||||
if ( msg <= CRCInput::RC_MaxRC )
|
||||
{
|
||||
// recalculate timeout f<EFBFBD>r RC-Tasten
|
||||
timeoutEnd = CRCInput::calcTimeoutEnd(g_settings.timing[SNeutrinoSettings::TIMING_MENU] == 0 ? 0xFFFF : g_settings.timing[SNeutrinoSettings
|
||||
::TIMING_MENU]);
|
||||
// recalculate timeout for RC-keys
|
||||
timeoutEnd = CRCInput::calcTimeoutEnd(g_settings.timing[SNeutrinoSettings::TIMING_MENU] == 0 ? 0xFFFF : g_settings.timing[SNeutrinoSettings::TIMING_MENU]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user