Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #3128 from stupid-boy/CGUIListLabel

GUIListLabel optimization
  • Loading branch information...
commit 9cdba48deeb1f48f28d1569a4e898bb98fdc3d89 2 parents 14e999c + 69ea43d
@jmarshallnz jmarshallnz authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 xbmc/guilib/GUILabel.cpp
View
4 xbmc/guilib/GUILabel.cpp
@@ -92,9 +92,9 @@ bool CGUILabel::Process(unsigned int currentTime)
bool renderSolid = (m_color == COLOR_DISABLED);
if (overFlows && m_scrolling && !renderSolid)
- m_textLayout.UpdateScrollinfo(m_scrollInfo);
+ return m_textLayout.UpdateScrollinfo(m_scrollInfo);
- return (overFlows && m_scrolling);
+ return false;
}
void CGUILabel::Render()
Please sign in to comment.
Something went wrong with that request. Please try again.