aboutsummaryrefslogtreecommitdiff
path: root/guilib/GUIEditControl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'guilib/GUIEditControl.cpp')
-rw-r--r--guilib/GUIEditControl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/guilib/GUIEditControl.cpp b/guilib/GUIEditControl.cpp
index 9e9262f056..8246dce882 100644
--- a/guilib/GUIEditControl.cpp
+++ b/guilib/GUIEditControl.cpp
@@ -412,9 +412,9 @@ void CGUIEditControl::RenderText()
// virtual keyboard only)
CStdStringW col;
if ((m_focusCounter % 64) > 32)
- col.Format(L"|");
+ col = L"|";
else
- col.Format(L"[COLOR %x]|[/COLOR]", 0x1000000);
+ col = L"[COLOR 00FFFFFF]|[/COLOR]";
text.Insert(m_cursorPos, col);
}