summaryrefslogtreecommitdiff
path: root/pcl
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2022-08-29 08:28:49 +0100
committerChris Liddell <chris.liddell@artifex.com>2022-08-29 08:28:49 +0100
commit1301d7000d6adb80466e1c3430ee2db251220928 (patch)
tree31fc6acc44155c983b6bb57326d2c793fa2190d7 /pcl
parent1f56d7736465c45a2785d6bb3db1c37289599b40 (diff)
downloadghostpdl-1301d7000d6adb80466e1c3430ee2db251220928.tar.gz
Coverity 380513: Missed a macro instance before.
Diffstat (limited to 'pcl')
-rw-r--r--pcl/pcl/pcsfont.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pcl/pcl/pcsfont.c b/pcl/pcl/pcsfont.c
index 2bed2ad79..de3b5c8ac 100644
--- a/pcl/pcl/pcsfont.c
+++ b/pcl/pcl/pcsfont.c
@@ -1009,8 +1009,8 @@ pcl_alphanumeric_id_data(pcl_args_t * pargs, pcl_state_t * pcs)
/* simple case - the macro is in the dictionary */
if (pl_dict_find_no_stack(&pcs->macros, alpha_data->string_id, string_id_size, &value)) {
return pl_dict_put_synonym(&pcs->macros, alpha_data->string_id,
- string_id_size, CURRENT_MACRO_ID,
- CURRENT_MACRO_ID_SIZE);
+ string_id_size, CURRENT_MACRO_STRING_ID,
+ CURRENT_MACRO_STRING_ID_SIZE);
} else {
/* search the PJL file system for a macro resource */
return pcl_find_resource(pcs, alpha_data->string_id,