Skip to content
This repository
Browse code

Merge pull request #3128 from stupid-boy/CGUIListLabel

GUIListLabel optimization
  • Loading branch information...
commit 9cdba48deeb1f48f28d1569a4e898bb98fdc3d89 2 parents 14e999c + 69ea43d
jmarshallnz authored August 23, 2013

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  xbmc/guilib/GUILabel.cpp
4  xbmc/guilib/GUILabel.cpp
@@ -92,9 +92,9 @@ bool CGUILabel::Process(unsigned int currentTime)
92 92
   bool renderSolid = (m_color == COLOR_DISABLED);
93 93
 
94 94
   if (overFlows && m_scrolling && !renderSolid)
95  
-    m_textLayout.UpdateScrollinfo(m_scrollInfo);
  95
+    return m_textLayout.UpdateScrollinfo(m_scrollInfo);
96 96
 
97  
-  return (overFlows && m_scrolling);
  97
+  return false;
98 98
 }
99 99
 
100 100
 void CGUILabel::Render()

0 notes on commit 9cdba48

Please sign in to comment.
Something went wrong with that request. Please try again.