From e0f638b398b2362f5843ea0c1907f678cfa8e278 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 26 Feb 2015 15:16:34 +0100 Subject: Don't pass interpreter context to pdf_processor opcode callbacks. Update buffer and filter processors. Filter both colors and stroke states. Move OCG hiding logic into interpreter. --- source/html/css-parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/html') diff --git a/source/html/css-parse.c b/source/html/css-parse.c index e3ddd48f..91958a98 100644 --- a/source/html/css-parse.c +++ b/source/html/css-parse.c @@ -414,7 +414,7 @@ restart: { buf->color = (a << 20) | (b << 12) | (c << 4); } - sprintf(buf->string, "%06x", buf->color); // XXX + sprintf(buf->string, "%06x", buf->color); return CSS_COLOR; colorerror: fz_css_error(buf, "invalid color"); -- cgit v1.2.3