Skip to content

Commit

Permalink
remove SetMaxRect from CGUILabelControl::UpdateInfo as we are doing i…
Browse files Browse the repository at this point in the history
…t anyway later in CGUILabelControl::Process
  • Loading branch information
pieh committed Aug 29, 2012
1 parent 494f64b commit f9b52b4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions xbmc/guilib/GUILabelControl.cpp
Expand Up @@ -102,8 +102,7 @@ void CGUILabelControl::UpdateInfo(const CGUIListItem *item)

bool changed = false;

changed |= m_label.SetMaxRect(m_posX, m_posY, m_width, m_height);
changed |= m_label.SetText(label);
changed |= m_label.SetText(label, m_width);

if (changed)
MarkDirtyRegion();
Expand Down

0 comments on commit f9b52b4

Please sign in to comment.