Commit 9a84d9f7 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

fixed check for number of parameters in non-interactive mode.

2005-01-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/retinex.c (run): fixed check for number of
	parameters in non-interactive mode.
parent 9d9cb21c
2005-01-14 Sven Neumann <sven@gimp.org>
* plug-ins/common/retinex.c (run): fixed check for number of
parameters in non-interactive mode.
2005-01-13 Manish Singh <yosh@gimp.org>
* plug-ins/common/channel_mixer.c: Add a Reset button. Addresses
......
......@@ -50,6 +50,7 @@ typedef enum
filter_low,
filter_high
} FilterMode;
/*
Definit comment sont repartis les
differents filtres en fonction de
......@@ -150,7 +151,7 @@ query (void)
{ GIMP_PDB_INT32, "scale", "Biggest scale value" },
{ GIMP_PDB_INT32, "nscales", "Number of scales" },
{ GIMP_PDB_INT32, "scales_mode", "Retinex distribution through scales" },
{ GIMP_PDB_FLOAT, "cvar", "variance value" }
{ GIMP_PDB_FLOAT, "cvar", "Variance value" }
};
gimp_install_procedure ("plug_in_retinex",
......@@ -223,7 +224,7 @@ run (const gchar *name,
case GIMP_RUN_NONINTERACTIVE:
/* Make sure all the arguments are there! */
if (nparams != 6)
if (nparams != 7)
{
status = GIMP_PDB_CALLING_ERROR;
}
......
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