git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1423 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
satbaby
2011-05-02 11:47:38 +00:00
parent 517a305980
commit aa7fa768b8
2 changed files with 2 additions and 2 deletions

View File

@@ -178,7 +178,7 @@ void CMenuItem::paintItemSlider( const bool select_mode, const int &item_height,
CFrameBuffer *frameBuffer = CFrameBuffer::getInstance();
int slider_lenght = 0, h = 0;
frameBuffer->getIconSize(NEUTRINO_ICON_VOLUMEBODY, &slider_lenght, &h);
if(slider_lenght == 0)
if(slider_lenght == 0 || factor < optionvalue )
return;
int stringwidth = 0;
if (right_text != NULL) {

View File

@@ -779,7 +779,7 @@ static void addEvent(const SIevent &evt, const unsigned table_id, const time_t z
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 ) )
{
//replae event if new version
//replace event if new version
already_exists = false;
}
else if (already_exists && (evt.table_id < si->second->table_id))