diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2023-03-02 20:25:32 +0000 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2023-03-07 17:43:41 +0000 |
commit | c8f549afef4596bd419fb166a4001bded511902d (patch) | |
tree | 8e1aa9d60698511870819bf0eb6f851d6f2ae32b | |
parent | e7367ea2279d65af2a6567aeb538ac90275de220 (diff) | |
download | ghostpdl-c8f549afef4596bd419fb166a4001bded511902d.tar.gz |
Fix cut and paste error in warning.
-rw-r--r-- | pdf/pdf_shading.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pdf/pdf_shading.c b/pdf/pdf_shading.c index 5cd347f72..2a22adffc 100644 --- a/pdf/pdf_shading.c +++ b/pdf/pdf_shading.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2018-2022 Artifex Software, Inc. +/* Copyright (C) 2018-2023 Artifex Software, Inc. All Rights Reserved. This software is provided AS-IS with no warranty, either express or @@ -921,7 +921,7 @@ int pdfi_shading(pdf_context *ctx, pdf_dict *stream_dict, pdf_dict *page_dict) code = gs_shfill(ctx->pgs, psh); if (code < 0) { - pdfi_set_warning(ctx, 0, NULL, W_PDF_BADSHADING, "pdfi_rectpath", (char *)"ERROR: ignoring invalid smooth shading object, output may be incorrect"); + pdfi_set_warning(ctx, 0, NULL, W_PDF_BADSHADING, "pdfi_shading", (char *)"ERROR: ignoring invalid smooth shading object, output may be incorrect"); code = 0; } |