From 69ed4a8f4dbfac7f2f1de925e34807e4fee3b27c Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 21 Sep 2011 00:11:22 +0200 Subject: Don't thread ctx through safe fz_obj functions. --- fitz/filt_lzwd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fitz/filt_lzwd.c') diff --git a/fitz/filt_lzwd.c b/fitz/filt_lzwd.c index b6534dfe..17d41d94 100644 --- a/fitz/filt_lzwd.c +++ b/fitz/filt_lzwd.c @@ -176,9 +176,9 @@ fz_open_lzwd(fz_stream *chain, fz_obj *params) lzw->eod = 0; lzw->early_change = 1; - obj = fz_dict_gets(chain->ctx, params, "EarlyChange"); + obj = fz_dict_gets(params, "EarlyChange"); if (obj) - lzw->early_change = !!fz_to_int(chain->ctx, obj); + lzw->early_change = !!fz_to_int(obj); for (i = 0; i < 256; i++) { -- cgit v1.2.3