diff --git a/ChangeLog b/ChangeLog index 4815976823..5652725973 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Jul 1 14:13:45 PDT 1998 Manish Singh + + * plug-ins/jpeg/jpeg.c: fix for non-interactive mode + Wed Jul 1 10:14:41 PDT 1998 Manish Singh * ltconfig: fix for properly detecting shared lib support on diff --git a/plug-ins/common/jpeg.c b/plug-ins/common/jpeg.c index 877ccbbd5f..595eb09754 100644 --- a/plug-ins/common/jpeg.c +++ b/plug-ins/common/jpeg.c @@ -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 */ diff --git a/plug-ins/jpeg/jpeg-load.c b/plug-ins/jpeg/jpeg-load.c index 877ccbbd5f..595eb09754 100644 --- a/plug-ins/jpeg/jpeg-load.c +++ b/plug-ins/jpeg/jpeg-load.c @@ -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 */ diff --git a/plug-ins/jpeg/jpeg-load.h b/plug-ins/jpeg/jpeg-load.h index 877ccbbd5f..595eb09754 100644 --- a/plug-ins/jpeg/jpeg-load.h +++ b/plug-ins/jpeg/jpeg-load.h @@ -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 */ diff --git a/plug-ins/jpeg/jpeg-save.c b/plug-ins/jpeg/jpeg-save.c index 877ccbbd5f..595eb09754 100644 --- a/plug-ins/jpeg/jpeg-save.c +++ b/plug-ins/jpeg/jpeg-save.c @@ -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 */ diff --git a/plug-ins/jpeg/jpeg-save.h b/plug-ins/jpeg/jpeg-save.h index 877ccbbd5f..595eb09754 100644 --- a/plug-ins/jpeg/jpeg-save.h +++ b/plug-ins/jpeg/jpeg-save.h @@ -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 */ diff --git a/plug-ins/jpeg/jpeg.c b/plug-ins/jpeg/jpeg.c index 877ccbbd5f..595eb09754 100644 --- a/plug-ins/jpeg/jpeg.c +++ b/plug-ins/jpeg/jpeg.c @@ -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 */ diff --git a/plug-ins/jpeg/jpeg.h b/plug-ins/jpeg/jpeg.h index 877ccbbd5f..595eb09754 100644 --- a/plug-ins/jpeg/jpeg.h +++ b/plug-ins/jpeg/jpeg.h @@ -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 */