mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 23:42:58 +02:00
tiny fix
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1423 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -178,7 +178,7 @@ void CMenuItem::paintItemSlider( const bool select_mode, const int &item_height,
|
|||||||
CFrameBuffer *frameBuffer = CFrameBuffer::getInstance();
|
CFrameBuffer *frameBuffer = CFrameBuffer::getInstance();
|
||||||
int slider_lenght = 0, h = 0;
|
int slider_lenght = 0, h = 0;
|
||||||
frameBuffer->getIconSize(NEUTRINO_ICON_VOLUMEBODY, &slider_lenght, &h);
|
frameBuffer->getIconSize(NEUTRINO_ICON_VOLUMEBODY, &slider_lenght, &h);
|
||||||
if(slider_lenght == 0)
|
if(slider_lenght == 0 || factor < optionvalue )
|
||||||
return;
|
return;
|
||||||
int stringwidth = 0;
|
int stringwidth = 0;
|
||||||
if (right_text != NULL) {
|
if (right_text != NULL) {
|
||||||
|
@@ -779,7 +779,7 @@ static void addEvent(const SIevent &evt, const unsigned table_id, const time_t z
|
|||||||
bool already_exists = (si != mySIeventsOrderUniqueKey.end());
|
bool already_exists = (si != mySIeventsOrderUniqueKey.end());
|
||||||
if (already_exists && ( (evt.table_id == si->second->table_id && evt.version != si->second->version) || evt.version == 0xFF || si->second->version == 0xFF ) )
|
if (already_exists && ( (evt.table_id == si->second->table_id && evt.version != si->second->version) || evt.version == 0xFF || si->second->version == 0xFF ) )
|
||||||
{
|
{
|
||||||
//replae event if new version
|
//replace event if new version
|
||||||
already_exists = false;
|
already_exists = false;
|
||||||
}
|
}
|
||||||
else if (already_exists && (evt.table_id < si->second->table_id))
|
else if (already_exists && (evt.table_id < si->second->table_id))
|
||||||
|
Reference in New Issue
Block a user