diff options
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; |