summaryrefslogtreecommitdiff
path: root/source/tools
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2018-07-06 15:54:42 +0100
committerRobin Watts <robin.watts@artifex.com>2018-07-06 16:10:01 +0100
commit5088e3f891e50cd01a86d98ffc99669ef38e1f38 (patch)
tree10be88922eee73631b5b070eb09a6eab426b6e7c /source/tools
parent7cb9579804102ea39ef76d237144b57331766df1 (diff)
downloadmupdf-5088e3f891e50cd01a86d98ffc99669ef38e1f38.tar.xz
Fix muraster and mu-office-lib.
These got broken during the fz_rect/fz_matrix pass-by-value changes.
Diffstat (limited to 'source/tools')
-rw-r--r--source/tools/muraster.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/tools/muraster.c b/source/tools/muraster.c
index 628229ae..472e0036 100644
--- a/source/tools/muraster.c
+++ b/source/tools/muraster.c
@@ -636,7 +636,7 @@ static int dodrawpage(fz_context *ctx, int pagenum, fz_cookie *cookie, render_de
cookie->errors += w->cookie.errors;
}
else
- status = drawband(ctx, render->page, render->list, ctm, &tbounds, cookie, band_start, pix, &bit);
+ status = drawband(ctx, render->page, render->list, ctm, tbounds, cookie, band_start, pix, &bit);
if (status != RENDER_OK)
fz_throw(ctx, FZ_ERROR_GENERIC, "Render failed");
@@ -1328,7 +1328,7 @@ static void worker_thread(void *arg)
DEBUG_THREADS(("Worker %d woken for band_start %d\n", me->num, me->band_start));
me->status = RENDER_OK;
if (me->band_start >= 0)
- me->status = drawband(me->ctx, NULL, me->list, me->ctm, &me->tbounds, &me->cookie, me->band_start, me->pix, &me->bit);
+ me->status = drawband(me->ctx, NULL, me->list, me->ctm, me->tbounds, &me->cookie, me->band_start, me->pix, &me->bit);
DEBUG_THREADS(("Worker %d completed band_start %d (status=%d)\n", me->num, me->band_start, me->status));
mu_trigger_semaphore(&me->stop);
}