[gimp] app: fix indentation in gimptextool-editor.c



commit 06d5b9e9df02f5a26e7a039999e4e8868bfceefd
Author: Michael Natterer <mitch gimp org>
Date:   Sun Dec 4 19:24:33 2011 +0100

    app: fix indentation in gimptextool-editor.c

 app/tools/gimptexttool-editor.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/app/tools/gimptexttool-editor.c b/app/tools/gimptexttool-editor.c
index 8d8b039..25af4c4 100644
--- a/app/tools/gimptexttool-editor.c
+++ b/app/tools/gimptexttool-editor.c
@@ -692,7 +692,7 @@ gimp_text_tool_move_cursor (GimpTextTool    *text_tool,
               index = gimp_text_buffer_get_iter_index (text_tool->buffer,
                                                        &cursor, TRUE);
 
-             if (count > 0)
+              if (count > 0)
                 {
                   pango_layout_move_cursor_visually (layout, TRUE, index, 0, 1,
                                                      &new_index, &trailing);
@@ -705,14 +705,14 @@ gimp_text_tool_move_cursor (GimpTextTool    *text_tool,
                   count++;
                 }
 
-             if (new_index != G_MAXINT && new_index != -1)
-               index = new_index;
-             else
-               break;
+              if (new_index != G_MAXINT && new_index != -1)
+                index = new_index;
+              else
+                break;
 
-             gimp_text_buffer_get_iter_at_index (text_tool->buffer,
-                                                 &cursor, index, TRUE);
-             gtk_text_iter_forward_chars (&cursor, trailing);
+              gimp_text_buffer_get_iter_at_index (text_tool->buffer,
+                                                  &cursor, index, TRUE);
+              gtk_text_iter_forward_chars (&cursor, trailing);
             }
         }
       break;



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