Bug 738037 - Wrong order of parameters in the Sobel plugin

Get the parameters from the right PDB arguments (parameter index was
off-by-one).
This commit is contained in:
Michael Natterer 2014-10-07 13:22:19 +02:00
parent e6ce0dda9d
commit fe8cb9788b
1 changed files with 3 additions and 3 deletions

View File

@ -171,9 +171,9 @@ run (const gchar *name,
}
else
{
bvals.horizontal = (param[4].data.d_int32) ? TRUE : FALSE;
bvals.vertical = (param[5].data.d_int32) ? TRUE : FALSE;
bvals.keep_sign = (param[6].data.d_int32) ? TRUE : FALSE;
bvals.horizontal = (param[3].data.d_int32) ? TRUE : FALSE;
bvals.vertical = (param[4].data.d_int32) ? TRUE : FALSE;
bvals.keep_sign = (param[5].data.d_int32) ? TRUE : FALSE;
}
break;