Commit 1c10caba authored by Kevin Cozens's avatar Kevin Cozens Committed by Kevin Cozens
Browse files

Fixed off-by-one error in check for number of passed parameters.

2005-03-25  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/common/displace.c: Fixed off-by-one error in check for
	number of passed parameters.
parent 4363931b
2005-03-25 Kevin Cozens <kcozens@cvs.gimp.org>
* plug-ins/common/displace.c: Fixed off-by-one error in check for
number of passed parameters.
2005-03-25 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimppropwidgets.[ch]: added
......
......@@ -247,7 +247,7 @@ run (const gchar *name,
dvals.displace_map_x = param[7].data.d_int32;
dvals.displace_map_y = param[8].data.d_int32;
dvals.displace_type = param[9].data.d_int32;
if (nparams == 10)
if (nparams == 11)
dvals.mode = param[10].data.d_int32;
else
dvals.mode = CARTESIAN_MODE;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment