aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Marshall <jmarshall@xbmc.org>2013-12-30 10:43:44 +1300
committerJonathan Marshall <jmarshall@xbmc.org>2013-12-30 10:47:38 +1300
commita9e87635b08182bd81f3be0cb94a182aeeaf1451 (patch)
tree121c53e5cdfa9ec443ba5237816b56232091a960
parent36f3eab206de2362d54c40c00cd4a888569c572b (diff)
[textlayout] ensure we reset the last used text when resetting the textlayout. Fixes missing text on second use of the same yes/no, ok dialog
-rw-r--r--xbmc/guilib/GUITextLayout.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/xbmc/guilib/GUITextLayout.cpp b/xbmc/guilib/GUITextLayout.cpp
index 1c80aadaac..ade799d796 100644
--- a/xbmc/guilib/GUITextLayout.cpp
+++ b/xbmc/guilib/GUITextLayout.cpp
@@ -675,6 +675,7 @@ void CGUITextLayout::Reset()
{
m_lines.clear();
m_lastText.clear();
+ m_lastUtf8Text.clear();
m_textWidth = m_textHeight = 0;
}