diff options
-rw-r--r-- | devices/gdevcmykog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devices/gdevcmykog.c b/devices/gdevcmykog.c index d2f68ba06..db8044c57 100644 --- a/devices/gdevcmykog.c +++ b/devices/gdevcmykog.c @@ -648,7 +648,7 @@ cmykog_print_page(gx_device_printer * pdev, FILE * prn_stream) * We will then copy this data into the target file at the end. */ arg->spot_file[0] = prn_stream; for(i = 1; i < ncomp; i++) { - arg->spot_file[i] = gp_open_scratch_file(pdev->memory, gp_scratch_file_name_prefix, &(arg->spot_name[i][0]), "w+b"); + arg->spot_file[i] = gp_open_scratch_file_rm(pdev->memory, gp_scratch_file_name_prefix, &(arg->spot_name[i][0]), "w+b"); if (arg->spot_file[i] == NULL) { code = gs_error_invalidfileaccess; goto prn_done; |