mirror of https://github.com/GNOME/gimp.git
app: fix off-by-one error in last commit
This commit is contained in:
parent
8029508fbe
commit
709c929d4f
|
@ -176,7 +176,7 @@ gimp_display_shell_draw_image (GimpDisplayShell *shell,
|
|||
{
|
||||
gdouble a = shell->rotate_angle * G_PI / 180.0;
|
||||
|
||||
chunk_width = chunk_height = MIN (chunk_width, chunk_height) /
|
||||
chunk_width = chunk_height = (MIN (chunk_width, chunk_height) - 1.0) /
|
||||
(fabs (sin (a)) + fabs (cos (a)));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue