summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'base/gxclist.c')
-rw-r--r--base/gxclist.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/base/gxclist.c b/base/gxclist.c
index 14b825cc..c5e8fead 100644
--- a/base/gxclist.c
+++ b/base/gxclist.c
@@ -201,7 +201,8 @@ const gx_device_procs gs_clist_device_procs = {
clist_strip_tile_rect_devn,
clist_copy_alpha_hl_color,
clist_process_page,
- gx_default_transform_pixel_region
+ gx_default_transform_pixel_region,
+ clist_fill_stroke_path,
};
/*------------------- Choose the implementation -----------------------
@@ -577,6 +578,8 @@ clist_reset(gx_device * dev)
cdev->cropping_level = 0;
cdev->mask_id_count = cdev->mask_id = cdev->temp_mask_id = 0;
cdev->icc_table = NULL;
+ cdev->op_fill_active = false;
+ cdev->op_stroke_active = false;
return 0;
}
/*
@@ -636,8 +639,7 @@ clist_open_output_file(gx_device *dev)
code = clist_init(dev);
if (code < 0)
return code;
- strcpy(fmode, "w+");
- strcat(fmode, gp_fmode_binary_suffix);
+ snprintf(fmode, sizeof(fmode), "w+%s", gp_fmode_binary_suffix);
cdev->page_cfname[0] = 0; /* create a new file */
cdev->page_bfname[0] = 0; /* ditto */
clist_reset_page(cdev);