mirror of https://github.com/GNOME/gimp.git
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:
parent
dbd8d44c7c
commit
aaa6336664
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue