summaryrefslogtreecommitdiff
path: root/pdf
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2023-03-02 20:25:32 +0000
committerRobin Watts <Robin.Watts@artifex.com>2023-03-03 12:46:36 +0000
commit45a4a190b9618944c746886e902493e4fd0cc87d (patch)
tree74e29ad1bbb52c6123ac47eda40284e9cdbf68f0 /pdf
parent2c5dd537f71d9b617e50a43bcdb29b2ce3604118 (diff)
downloadghostpdl-45a4a190b9618944c746886e902493e4fd0cc87d.tar.gz
Fix cut and paste error in warning.
Diffstat (limited to 'pdf')
-rw-r--r--pdf/pdf_shading.c4
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;
}