CGUIDialogBoxBase: avoid duplicate code
authormontellese <montellese@xbmc.org>
Sun, 29 Dec 2013 23:07:29 +0000 (00:07 +0100)
committermontellese <montellese@xbmc.org>
Sun, 29 Dec 2013 23:07:29 +0000 (00:07 +0100)
xbmc/dialogs/GUIDialogBoxBase.cpp

index cd9aa48..efb5316 100644 (file)
@@ -85,7 +85,7 @@ void CGUIDialogBoxBase::SetLine(unsigned int iLine, const CVariant& line)
   std::string text = StringUtils::Join(lines, "\n");
   if (text != m_text)
   {
-    m_text = StringUtils::Join(lines, "\n");
+    m_text = text;
     SetInvalid();
   }
 }