Make proper tests (>= not >)...

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 >)...

svn path=/trunk/; revision=26584
This commit is contained in:
Martin Nordholts 2008-08-16 05:45:41 +00:00 committed by Martin Nordholts
parent dbd8d44c7c
commit aaa6336664
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
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 >)...
2008-08-16 Daniel Eddeland <danedde@svn.gnome.org>
* app/text/gimptext.c: corrected gimp_text_set_property for

View File

@ -522,8 +522,8 @@ gimp_display_shell_scale_image_is_within_viewport (GimpDisplayShell *shell)
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;
}
/**