diff --git a/src/gui/widget/menue.cpp b/src/gui/widget/menue.cpp index 29456bac6..accdb7d4f 100644 --- a/src/gui/widget/menue.cpp +++ b/src/gui/widget/menue.cpp @@ -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) { diff --git a/src/sectionsd/sectionsd.cpp b/src/sectionsd/sectionsd.cpp index 514670686..14560811a 100644 --- a/src/sectionsd/sectionsd.cpp +++ b/src/sectionsd/sectionsd.cpp @@ -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))