cosmtics: fix comments
authorxhaggi <sascha.woo@gmail.com>
Sat, 8 Mar 2014 21:02:05 +0000 (22:02 +0100)
committerxhaggi <sascha.woo@gmail.com>
Sun, 9 Mar 2014 07:55:21 +0000 (08:55 +0100)
xbmc/guilib/GUIListGroup.cpp

index 06c3f5f..c574360 100644 (file)
@@ -118,16 +118,16 @@ void CGUIListGroup::UpdateInfo(const CGUIListItem *item)
 
 void CGUIListGroup::EnlargeWidth(float difference)
 {
-  // Alters the width of the controls that have an ID of 1
+  // Alters the width of the controls that have an ID of 1 to 14
   for (iControls it = m_children.begin(); it != m_children.end(); it++)
   {
     CGUIControl *child = *it;
     if (child->GetID() >= 1 && child->GetID() <= 14)
     {
-      if (child->GetID() == 1) // label
+      if (child->GetID() == 1)
       {
         child->SetWidth(child->GetWidth() + difference);
-        child->SetVisible(child->GetWidth() > 10); ///
+        child->SetVisible(child->GetWidth() > 10);
       }
       else
       {
@@ -140,16 +140,16 @@ void CGUIListGroup::EnlargeWidth(float difference)
 
 void CGUIListGroup::EnlargeHeight(float difference)
 {
-  // Alters the width of the controls that have an ID of 1
+  // Alters the height of the controls that have an ID of 1 to 14
   for (iControls it = m_children.begin(); it != m_children.end(); it++)
   {
     CGUIControl *child = *it;
     if (child->GetID() >= 1 && child->GetID() <= 14)
     {
-      if (child->GetID() == 1) // label
+      if (child->GetID() == 1)
       {
         child->SetHeight(child->GetHeight() + difference);
-        child->SetVisible(child->GetHeight() > 10); ///
+        child->SetVisible(child->GetHeight() > 10);
       }
       else
       {