summaryrefslogtreecommitdiff
path: root/xps/xpsglyphs.c
diff options
context:
space:
mode:
Diffstat (limited to 'xps/xpsglyphs.c')
-rw-r--r--xps/xpsglyphs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xps/xpsglyphs.c b/xps/xpsglyphs.c
index 8847e3ee2..33a0a215c 100644
--- a/xps/xpsglyphs.c
+++ b/xps/xpsglyphs.c
@@ -641,7 +641,7 @@ xps_parse_glyphs(xps_context_t *ctx,
if (fill_att)
{
- float samples[32];
+ float samples[XPS_MAX_COLORS];
gs_color_space *colorspace;
xps_parse_color(ctx, base_uri, fill_att, &colorspace, samples);