fix for non-interactive mode

-Yosh
This commit is contained in:
Manish Singh 1998-07-01 21:14:51 +00:00
parent 60b0fb4e5c
commit 898fcac80d
8 changed files with 18 additions and 7 deletions

View File

@ -1,3 +1,7 @@
Wed Jul 1 14:13:45 PDT 1998 Manish Singh <yosh@gimp.org>
* plug-ins/jpeg/jpeg.c: fix for non-interactive mode
Wed Jul 1 10:14:41 PDT 1998 Manish Singh <yosh@gimp.org>
* ltconfig: fix for properly detecting shared lib support on

View File

@ -201,7 +201,7 @@ run (char *name,
case RUN_NONINTERACTIVE:
/* Make sure all the arguments are there! */
if (nparams != 7)
if (nparams != 8)
status = STATUS_CALLING_ERROR;
if (status == STATUS_SUCCESS)
{
@ -215,6 +215,7 @@ run (char *name,
if (status == STATUS_SUCCESS &&
(jsvals.smoothing < 0.0 || jsvals.smoothing > 1.0))
status = STATUS_CALLING_ERROR;
break;
case RUN_WITH_LAST_VALS:
/* Possibly retrieve data */

View File

@ -201,7 +201,7 @@ run (char *name,
case RUN_NONINTERACTIVE:
/* Make sure all the arguments are there! */
if (nparams != 7)
if (nparams != 8)
status = STATUS_CALLING_ERROR;
if (status == STATUS_SUCCESS)
{
@ -215,6 +215,7 @@ run (char *name,
if (status == STATUS_SUCCESS &&
(jsvals.smoothing < 0.0 || jsvals.smoothing > 1.0))
status = STATUS_CALLING_ERROR;
break;
case RUN_WITH_LAST_VALS:
/* Possibly retrieve data */

View File

@ -201,7 +201,7 @@ run (char *name,
case RUN_NONINTERACTIVE:
/* Make sure all the arguments are there! */
if (nparams != 7)
if (nparams != 8)
status = STATUS_CALLING_ERROR;
if (status == STATUS_SUCCESS)
{
@ -215,6 +215,7 @@ run (char *name,
if (status == STATUS_SUCCESS &&
(jsvals.smoothing < 0.0 || jsvals.smoothing > 1.0))
status = STATUS_CALLING_ERROR;
break;
case RUN_WITH_LAST_VALS:
/* Possibly retrieve data */

View File

@ -201,7 +201,7 @@ run (char *name,
case RUN_NONINTERACTIVE:
/* Make sure all the arguments are there! */
if (nparams != 7)
if (nparams != 8)
status = STATUS_CALLING_ERROR;
if (status == STATUS_SUCCESS)
{
@ -215,6 +215,7 @@ run (char *name,
if (status == STATUS_SUCCESS &&
(jsvals.smoothing < 0.0 || jsvals.smoothing > 1.0))
status = STATUS_CALLING_ERROR;
break;
case RUN_WITH_LAST_VALS:
/* Possibly retrieve data */

View File

@ -201,7 +201,7 @@ run (char *name,
case RUN_NONINTERACTIVE:
/* Make sure all the arguments are there! */
if (nparams != 7)
if (nparams != 8)
status = STATUS_CALLING_ERROR;
if (status == STATUS_SUCCESS)
{
@ -215,6 +215,7 @@ run (char *name,
if (status == STATUS_SUCCESS &&
(jsvals.smoothing < 0.0 || jsvals.smoothing > 1.0))
status = STATUS_CALLING_ERROR;
break;
case RUN_WITH_LAST_VALS:
/* Possibly retrieve data */

View File

@ -201,7 +201,7 @@ run (char *name,
case RUN_NONINTERACTIVE:
/* Make sure all the arguments are there! */
if (nparams != 7)
if (nparams != 8)
status = STATUS_CALLING_ERROR;
if (status == STATUS_SUCCESS)
{
@ -215,6 +215,7 @@ run (char *name,
if (status == STATUS_SUCCESS &&
(jsvals.smoothing < 0.0 || jsvals.smoothing > 1.0))
status = STATUS_CALLING_ERROR;
break;
case RUN_WITH_LAST_VALS:
/* Possibly retrieve data */

View File

@ -201,7 +201,7 @@ run (char *name,
case RUN_NONINTERACTIVE:
/* Make sure all the arguments are there! */
if (nparams != 7)
if (nparams != 8)
status = STATUS_CALLING_ERROR;
if (status == STATUS_SUCCESS)
{
@ -215,6 +215,7 @@ run (char *name,
if (status == STATUS_SUCCESS &&
(jsvals.smoothing < 0.0 || jsvals.smoothing > 1.0))
status = STATUS_CALLING_ERROR;
break;
case RUN_WITH_LAST_VALS:
/* Possibly retrieve data */