diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2022-08-29 08:28:49 +0100 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2022-08-29 08:28:49 +0100 |
commit | 1301d7000d6adb80466e1c3430ee2db251220928 (patch) | |
tree | 31fc6acc44155c983b6bb57326d2c793fa2190d7 /pcl | |
parent | 1f56d7736465c45a2785d6bb3db1c37289599b40 (diff) | |
download | ghostpdl-1301d7000d6adb80466e1c3430ee2db251220928.tar.gz |
Coverity 380513: Missed a macro instance before.
Diffstat (limited to 'pcl')
-rw-r--r-- | pcl/pcl/pcsfont.c | 4 |
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, |