summaryrefslogtreecommitdiff
path: root/gs/base/gdevpdtt.c
diff options
context:
space:
mode:
Diffstat (limited to 'gs/base/gdevpdtt.c')
-rw-r--r--gs/base/gdevpdtt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/base/gdevpdtt.c b/gs/base/gdevpdtt.c
index ce5b989ee..5c446ad82 100644
--- a/gs/base/gdevpdtt.c
+++ b/gs/base/gdevpdtt.c
@@ -2944,7 +2944,7 @@ pdf_text_process(gs_text_enum_t *pte)
* a show enumerator, so this is safe. We need to update the
* graphics state pointer below which is why we need this.
*/
- gs_show_enum psenum = *(gs_show_enum *)pte;
+ gs_show_enum psenum = *(gs_show_enum *)pte_default;
gs_state *pgs = (gs_state *)penum->pis;
gs_text_enum_procs_t const *save_procs = pte_default->procs;
gs_text_enum_procs_t special_procs = *pte_default->procs;