mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 23:42:58 +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:
@@ -1271,7 +1271,7 @@ void CInfoViewer::show_Data (bool calledFromEvent)
|
|||||||
char runningStart[10];
|
char runningStart[10];
|
||||||
char runningRest[20];
|
char runningRest[20];
|
||||||
char runningPercent = 0;
|
char runningPercent = 0;
|
||||||
static char oldrunningPercent = 255;
|
// static char oldrunningPercent = 255;
|
||||||
|
|
||||||
char nextStart[10];
|
char nextStart[10];
|
||||||
char nextDuration[10];
|
char nextDuration[10];
|
||||||
|
@@ -109,7 +109,7 @@ void CMenuWidget::Init(const std::string & Icon, const int mwidth, const int /*m
|
|||||||
width = 0; /* is set in paint() */
|
width = 0; /* is set in paint() */
|
||||||
|
|
||||||
if (mwidth > 100) /* warn about abuse until we found all offenders... */
|
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
|
else
|
||||||
needed_width = frameBuffer->getScreenWidth() * mwidth / 100;
|
needed_width = frameBuffer->getScreenWidth() * mwidth / 100;
|
||||||
|
|
||||||
@@ -409,9 +409,8 @@ int CMenuWidget::exec(CMenuTarget* parent, const std::string &)
|
|||||||
|
|
||||||
if ( msg <= CRCInput::RC_MaxRC )
|
if ( msg <= CRCInput::RC_MaxRC )
|
||||||
{
|
{
|
||||||
// recalculate timeout f<EFBFBD>r RC-Tasten
|
// recalculate timeout for RC-keys
|
||||||
timeoutEnd = CRCInput::calcTimeoutEnd(g_settings.timing[SNeutrinoSettings::TIMING_MENU] == 0 ? 0xFFFF : g_settings.timing[SNeutrinoSettings
|
timeoutEnd = CRCInput::calcTimeoutEnd(g_settings.timing[SNeutrinoSettings::TIMING_MENU] == 0 ? 0xFFFF : g_settings.timing[SNeutrinoSettings::TIMING_MENU]);
|
||||||
::TIMING_MENU]);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user