app: fix copy/paste error in gimp_display_shell_transform_xy()

This commit is contained in:
Michael Natterer 2013-04-18 15:20:21 +02:00
parent fd6c5dd576
commit 65a2d2be31
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ gimp_display_shell_transform_xy (const GimpDisplayShell *shell,
g_return_if_fail (ny != NULL);
tx = x * shell->scale_x - shell->offset_x;
ty = y * shell->scale_y - shell->offset_x;
ty = y * shell->scale_y - shell->offset_y;
/* The projected coordinates might overflow a gint in the case of big
images at high zoom levels, so we clamp them here to avoid problems. */