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 c8ff90e1d..104e925dd 100644
--- a/gs/base/gdevpdtt.c
+++ b/gs/base/gdevpdtt.c
@@ -379,7 +379,7 @@ pdf_prepare_text_color(gx_device_pdf *const pdev, gs_imager_state *pis, const gs
} else
pdev->remap_fill_color = false;
gs_swapcolors_quick(pgs);
- gx_set_dev_color(pgs);
+ code = gx_set_dev_color(pgs);
if (code == gs_error_Remap_Color)
pdev->remap_fill_color = true;
if (code != 0)