summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2011-07-14 16:07:03 +0100
committerChris Liddell <chris.liddell@artifex.com>2011-07-14 16:15:02 +0100
commitbf7e720496a1299b9450ccd2dc41bda2f428a56c (patch)
tree79121eb02b8835f1323b704b154b58f9a90a1c1d
parent4a3c38301f0c8075e53bf0ffb15ec2d991006185 (diff)
Small fix to changes for Bug 688528.
The fix for Bug 688528 contained a conditional error checking for a return value of greater than zero when in fact it should be greater than or equal to zero. No cluster differences.
-rw-r--r--gs/base/gdevvec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/base/gdevvec.c b/gs/base/gdevvec.c
index 2573a0d9d..2377b596e 100644
--- a/gs/base/gdevvec.c
+++ b/gs/base/gdevvec.c
@@ -278,7 +278,7 @@ gdev_vector_open_file_options(gx_device_vector * vdev, uint strmbuf_size,
code = gx_device_open_output_file((gx_device *)vdev, vdev->fname,
binary, false, &vdev->file);
}
- if (code > 0) {
+ if (code >= 0) {
code = dev_proc(vdev, get_profile)((gx_device *)vdev, &icc_array);
}