app: another copy/paste error broke moving in GimpToolHandleGrid

This commit is contained in:
Michael Natterer 2017-06-19 23:45:35 +02:00
parent 055ca325f2
commit 77d516b588
1 changed files with 1 additions and 1 deletions

View File

@ -739,7 +739,7 @@ gimp_tool_handle_grid_motion (GimpToolWidget *widget,
/* move */ /* move */
for (i = 0; i < 4; i++) for (i = 0; i < 4; i++)
{ {
newpos_x[i] = oldpos_x[i] + diff_y; newpos_x[i] = oldpos_x[i] + diff_x;
newpos_y[i] = oldpos_y[i] + diff_y; newpos_y[i] = oldpos_y[i] + diff_y;
} }
break; break;