diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-02-18 16:31:31 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-02-18 16:32:14 +0000 |
commit | 9bb42182c7637e11bc2939fb359ab79365594202 (patch) | |
tree | 4483cde486308c2807722e84a8f3bfccf26456fc /devices/gdevpng.c | |
parent | c00965e4c05f08ec000303d53942e846187eed1a (diff) | |
download | ghostpdl-9bb42182c7637e11bc2939fb359ab79365594202.tar.gz |
Update devices to return errors using return_error.
Diffstat (limited to 'devices/gdevpng.c')
-rw-r--r-- | devices/gdevpng.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devices/gdevpng.c b/devices/gdevpng.c index f24f8bcd2..de08d4203 100644 --- a/devices/gdevpng.c +++ b/devices/gdevpng.c @@ -949,7 +949,7 @@ pngalpha_copy_alpha(gx_device * dev, const byte * data, int data_x, alpha = row[sx]; break; default: - return gs_error_rangecheck; + return_error(gs_error_rangecheck); } if (alpha == 255) { /* Just write the new color. */ composite = color; |