summaryrefslogtreecommitdiff
path: root/gs
diff options
context:
space:
mode:
authorRay Johnston <ray.johnston@artifex.com>1999-03-16 15:40:20 +0000
committerRay Johnston <ray.johnston@artifex.com>1999-03-16 15:40:20 +0000
commit5f41a2c3376562b50778bcf48668d925973d8ad7 (patch)
treec53c36019dc67a44ca9e543230564403926299f8 /gs
parentb4932af83ec2afa5b4ed8ca1c12fbd2954cdac4d (diff)
Fix for improper handling of the return code from clist_VMerror_recover.
(related to HANDLE_RECT_UNLESS fix in gxcldev.h -r1.6) git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@775 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'gs')
-rw-r--r--gs/src/gxclist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gs/src/gxclist.c b/gs/src/gxclist.c
index fa923af8a..d9cba1862 100644
--- a/gs/src/gxclist.c
+++ b/gs/src/gxclist.c
@@ -430,9 +430,9 @@ clist_emit_page_header(gx_device *dev)
if ( (cdev->disable_mask & clist_disable_pass_thru_params) )
{ do
- if ( ( code = clist_put_current_params(cdev) ) >= 0 )
+ if ((code = clist_put_current_params(cdev)) >= 0)
break;
- while ( ( code = clist_VMerror_recover(cdev, code) ) < 0 );
+ while ((code = clist_VMerror_recover(cdev, code)) >= 0);
cdev->permanent_error = (code < 0) ? code : 0;
if (cdev->permanent_error < 0)
cdev->error_is_retryable = 0;