[gimp] Fix moving back by words



commit 6e57a6721873bf87c09a2218256d0e84fda08bf2
Author: Michael Natterer <mitch gimp org>
Date:   Tue Jun 23 00:18:31 2009 +0200

    Fix moving back by words

 app/tools/gimptexttool.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/tools/gimptexttool.c b/app/tools/gimptexttool.c
index 1479a76..917dcc5 100644
--- a/app/tools/gimptexttool.c
+++ b/app/tools/gimptexttool.c
@@ -1472,7 +1472,7 @@ gimp_text_tool_move_cursor (GimpTextTool    *text_tool,
     case GTK_MOVEMENT_WORDS:
       if (count < 0)
         {
-          gtk_text_iter_backward_visible_word_starts (&cursor, count);
+          gtk_text_iter_backward_visible_word_starts (&cursor, -count);
         }
       else if (count > 0)
         {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]