[gs-cvs] rev 8888 - trunk/gs/src
leonardo at ghostscript.com
leonardo at ghostscript.com
Mon Jul 28 03:10:53 PDT 2008
Author: leonardo
Date: 2008-07-28 03:10:53 -0700 (Mon, 28 Jul 2008)
New Revision: 8888
Modified:
trunk/gs/src/gxclrect.c
Log:
Fix (clist writer) : Improve the logic about zero tile id.
DETAILS :
Thanks to Peter for participation. See comment in code.
EXPECTED DIFFERENCES :
None.
Modified: trunk/gs/src/gxclrect.c
===================================================================
--- trunk/gs/src/gxclrect.c 2008-07-28 07:52:42 UTC (rev 8887)
+++ trunk/gs/src/gxclrect.c 2008-07-28 10:10:53 UTC (rev 8888)
@@ -479,14 +479,14 @@
if (code < 0 && SET_BAND_CODE(code))
goto error_in_rect;
if (!cls_has_tile_id(cdev, re.pcls, tile->id, offset_temp)) {
- code = 0;
if (tile->id != gx_no_bitmap_id) {
do {
code = clist_change_tile(cdev, re.pcls, tile, depth);
} while (RECT_RECOVER(code));
if (code < 0 && !(code != gs_error_VMerror || !cdev->error_is_retryable) && SET_BAND_CODE(code))
goto error_in_rect;
- }
+ } else
+ code = -1; /* Force the default implementation. Should never happen. */
if (code < 0) {
/* ok if gx_default... does retries internally: */
/* it's self-sufficient */
More information about the gs-cvs
mailing list