summaryrefslogtreecommitdiff
path: root/draw
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2013-03-21 22:03:12 +0000
committerRobin Watts <robin.watts@artifex.com>2013-03-22 01:06:10 +0000
commit7b334e226f7ac03352461935e7193d4c9a27ddca (patch)
treed4d768c49164a9c885c9f5d784c6a88cc99ae80b /draw
parentbf08301ded2f44e33bebf5572587a9c7102dcc98 (diff)
downloadmupdf-7b334e226f7ac03352461935e7193d4c9a27ddca.tar.xz
Squash some warnings.
Some -Wshadow ones, plus some 'set but not used' ones.
Diffstat (limited to 'draw')
-rw-r--r--draw/draw_device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/draw/draw_device.c b/draw/draw_device.c
index 595c8c3f..6eca2315 100644
--- a/draw/draw_device.c
+++ b/draw/draw_device.c
@@ -556,8 +556,8 @@ fz_draw_fill_text(fz_device *devp, fz_text *text, const fz_matrix *ctm,
}
else
{
- fz_matrix tm = {glyph->w, 0.0, 0.0, glyph->h, x + glyph->x, y + glyph->y};
- fz_paint_image(state->dest, &state->scissor, state->shape, glyph, &tm, alpha * 255);
+ fz_matrix mat = {glyph->w, 0.0, 0.0, glyph->h, x + glyph->x, y + glyph->y};
+ fz_paint_image(state->dest, &state->scissor, state->shape, glyph, &mat, alpha * 255);
}
fz_drop_pixmap(dev->ctx, glyph);
}