diff options
author | jmarshallnz <jmarshallnz@svn> | 2009-10-23 09:28:41 +0000 |
---|---|---|
committer | jmarshallnz <jmarshallnz@svn> | 2009-10-23 09:28:41 +0000 |
commit | 1194ed6cdc73ce8b8d7667219a0c79fc74c4b1f0 (patch) | |
tree | 645cec366416d3ab1e3e36c41cafa56f4397eb1e /guilib/GUIEditControl.cpp | |
parent | 854ba2cb82b4a70f92d19c8b96e6e72794c20af6 (diff) |
cleanup: cosmetics.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23923 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/GUIEditControl.cpp')
-rw-r--r-- | guilib/GUIEditControl.cpp | 6 |
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; } } |