Merge remote-tracking branch 'uncool/cst-next'

This commit is contained in:
Stefan Seyfried
2015-12-21 14:38:26 +01:00
14 changed files with 133 additions and 47 deletions

View File

@@ -1856,6 +1856,9 @@ void CChannelList::paintItem(int pos, const bool firstpaint)
iscurrent = SameTP((*chanlist)[curr]);
}
if(selected >= (*chanlist).size())
selected = (*chanlist).size()-1;
if (curr == selected) {
color = COL_MENUCONTENTSELECTED_TEXT;
bgcolor = COL_MENUCONTENTSELECTED_PLUS_0;