diff --git a/src/gui/eventlist.cpp b/src/gui/eventlist.cpp index 5803707a2..697e85b34 100644 --- a/src/gui/eventlist.cpp +++ b/src/gui/eventlist.cpp @@ -703,9 +703,7 @@ void CNeutrinoEventList::paintItem(unsigned int pos, t_channel_id channel_idI) uint8_t color; fb_pixel_t bgcolor; int ypos = y+ theight+0 + pos*fheight; - std::string datetime1_str, datetime2_str, duration_str; unsigned int curpos = liststart + pos; - const char * icontype = 0; if(RADIUS_LARGE) frameBuffer->paintBoxRel(x, ypos, width- 15, fheight, COL_MENUCONTENT_PLUS_0, 0); @@ -726,10 +724,12 @@ void CNeutrinoEventList::paintItem(unsigned int pos, t_channel_id channel_idI) bgcolor = COL_MENUCONTENT_PLUS_0; } - frameBuffer->paintBoxRel(x, ypos, width- 15, fheight, bgcolor, RADIUS_LARGE); + if (!RADIUS_LARGE || (curpos==selected && RADIUS_LARGE) || (curpos==current_event && RADIUS_LARGE)) + frameBuffer->paintBoxRel(x, ypos, width- 15, fheight, bgcolor, RADIUS_LARGE); if(curpos