From f262a8c0bfae0cd90c2cd29acd409baf2157c241 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 3 Feb 2012 16:04:03 +0100 Subject: Be consistent about passing a fz_context in path/text/shade functions. --- fitz/dev_trace.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'fitz/dev_trace.c') diff --git a/fitz/dev_trace.c b/fitz/dev_trace.c index 73449ad1..1c2e1ed1 100644 --- a/fitz/dev_trace.c +++ b/fitz/dev_trace.c @@ -145,7 +145,7 @@ fz_trace_fill_text(fz_device *dev, fz_text *text, fz_matrix ctm, fz_trace_matrix(ctm); fz_trace_trm(text->trm); printf(">\n"); - fz_debug_text(text, 0); + fz_debug_text(dev->ctx, text, 0); printf("\n"); } @@ -158,7 +158,7 @@ fz_trace_stroke_text(fz_device *dev, fz_text *text, fz_stroke_state *stroke, fz_ fz_trace_matrix(ctm); fz_trace_trm(text->trm); printf(">\n"); - fz_debug_text(text, 0); + fz_debug_text(dev->ctx, text, 0); printf("\n"); } @@ -170,7 +170,7 @@ fz_trace_clip_text(fz_device *dev, fz_text *text, fz_matrix ctm, int accumulate) fz_trace_matrix(ctm); fz_trace_trm(text->trm); printf(">\n"); - fz_debug_text(text, 0); + fz_debug_text(dev->ctx, text, 0); printf("\n"); } @@ -181,7 +181,7 @@ fz_trace_clip_stroke_text(fz_device *dev, fz_text *text, fz_stroke_state *stroke fz_trace_matrix(ctm); fz_trace_trm(text->trm); printf(">\n"); - fz_debug_text(text, 0); + fz_debug_text(dev->ctx, text, 0); printf("\n"); } @@ -192,7 +192,7 @@ fz_trace_ignore_text(fz_device *dev, fz_text *text, fz_matrix ctm) fz_trace_matrix(ctm); fz_trace_trm(text->trm); printf(">\n"); - fz_debug_text(text, 0); + fz_debug_text(dev->ctx, text, 0); printf("\n"); } -- cgit v1.2.3