gimp r26584 - in trunk: . app/display



Author: martinn
Date: Sat Aug 16 05:45:41 2008
New Revision: 26584
URL: http://svn.gnome.org/viewvc/gimp?rev=26584&view=rev

Log:
2008-08-16  Martin Nordholts  <martinn svn gnome org>

	* app/display/gimpdisplayshell-scale.c
	(gimp_display_shell_scale_image_is_within_viewport): Make proper
	tests (>= not >)...


Modified:
   trunk/ChangeLog
   trunk/app/display/gimpdisplayshell-scale.c

Modified: trunk/app/display/gimpdisplayshell-scale.c
==============================================================================
--- trunk/app/display/gimpdisplayshell-scale.c	(original)
+++ trunk/app/display/gimpdisplayshell-scale.c	Sat Aug 16 05:45:41 2008
@@ -522,8 +522,8 @@
          sh              <= shell->disp_height      &&
          shell->offset_x <= 0                       &&
          shell->offset_y <= 0                       &&
-         shell->offset_x >  sw - shell->disp_width  &&
-         shell->offset_y >  sh - shell->disp_height;
+         shell->offset_x >= sw - shell->disp_width  &&
+         shell->offset_y >= sh - shell->disp_height;
 }
 
 /**



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