app: fix off-by-one error in last commit

This commit is contained in:
Ell 2017-12-09 05:21:55 -05:00
parent 8029508fbe
commit 709c929d4f
1 changed files with 1 additions and 1 deletions

View File

@ -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)));
}