[gimp/metadata-browser] app: fix condition that disallowed bottom right side cursor



commit 5480a3a5c682b66cae2feb85f0ca9dc80690b6b4
Author: Mikael Magnusson <mikachu src gnome org>
Date:   Mon Aug 27 15:06:07 2012 +0200

    app: fix condition that disallowed bottom right side cursor

 app/display/gimpdisplayshell-cursor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-cursor.c b/app/display/gimpdisplayshell-cursor.c
index 8c61e7b..f2ce079 100644
--- a/app/display/gimpdisplayshell-cursor.c
+++ b/app/display/gimpdisplayshell-cursor.c
@@ -244,7 +244,7 @@ gimp_display_shell_real_set_cursor (GimpDisplayShell   *shell,
 
         case GIMP_CURSOR_MODE_TOOL_CROSSHAIR:
           if (cursor_type < GIMP_CURSOR_CORNER_TOP_LEFT ||
-              cursor_type > GIMP_CURSOR_SIDE_BOTTOM)
+              cursor_type > GIMP_CURSOR_SIDE_BOTTOM_RIGHT)
             {
               /* the corner and side cursors count as crosshair, so leave
                * them and override everything else



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