aboutsummaryrefslogtreecommitdiff
path: root/guilib/GUIEditControl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'guilib/GUIEditControl.cpp')
-rw-r--r--guilib/GUIEditControl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/guilib/GUIEditControl.cpp b/guilib/GUIEditControl.cpp
index 913c95ed83..86e6428bd5 100644
--- a/guilib/GUIEditControl.cpp
+++ b/guilib/GUIEditControl.cpp
@@ -119,7 +119,7 @@ bool CGUIEditControl::OnAction(const CAction &action)
else if (action.id == ACTION_MOVE_RIGHT)
{
if ((unsigned int) m_cursorPos < m_text2.size())
- {
+ {
m_cursorPos++;
UpdateText(false);
return true;
@@ -159,8 +159,8 @@ bool CGUIEditControl::OnAction(const CAction &action)
if (m_cursorPos > 0)
{ // backspace
m_text2.erase(--m_cursorPos, 1);
- UpdateText();
- }
+ UpdateText();
+ }
return true;
}
}