[gimp] app: code layout/typo fixes



commit 5663daa6e77077993cfca2e76fb62080d9d1aae6
Author: Ell <ell_se yahoo com>
Date:   Tue Aug 9 21:52:24 2016 +0000

    app: code layout/typo fixes
    
    The sort of things that only become visible *after* pushing.

 app/display/gimpdisplayshell-scroll.c    |    4 ++--
 app/display/gimpdisplayshell-transform.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-scroll.c b/app/display/gimpdisplayshell-scroll.c
index 75c81fb..1b5c06f 100644
--- a/app/display/gimpdisplayshell-scroll.c
+++ b/app/display/gimpdisplayshell-scroll.c
@@ -199,8 +199,8 @@ gimp_display_shell_scroll_clamp_and_update (GimpDisplayShell *shell)
 
       if (shell->disp_height < bounds_height)
         {
-          min_offset_y = bounds_y
-                         - shell->disp_height * OVERPAN_FACTOR;
+          min_offset_y = bounds_y -
+                         shell->disp_height * OVERPAN_FACTOR;
           max_offset_y = bounds_y + bounds_height -
                          shell->disp_height * (1.0 - OVERPAN_FACTOR);
         }
diff --git a/app/display/gimpdisplayshell-transform.c b/app/display/gimpdisplayshell-transform.c
index fe91255..a247a94 100644
--- a/app/display/gimpdisplayshell-transform.c
+++ b/app/display/gimpdisplayshell-transform.c
@@ -921,7 +921,7 @@ gimp_display_shell_untransform_viewport (GimpDisplayShell *shell,
 /*  private functions  */
 
 /* Same as gimp_display_shell_transform_xy_f(), but doesn't do any rounding
- * for the transformed coordiantes.
+ * for the transformed coordinates.
  */
 static void
 gimp_display_shell_transform_xy_f_noround (GimpDisplayShell *shell,


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