summaryrefslogtreecommitdiff
path: root/source/fitz/svg-device.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2016-06-18 15:36:54 +0100
committerRobin Watts <robin.watts@artifex.com>2016-06-20 12:32:55 +0100
commite9132f1dd9523ebcfa1134f9239e401b783c56aa (patch)
tree1457444011ee647f20520b33339101b02c075693 /source/fitz/svg-device.c
parente1a63c0fecda4c434469834f802093036cb6c70f (diff)
downloadmupdf-e9132f1dd9523ebcfa1134f9239e401b783c56aa.tar.xz
Bug 696847: Fix SEGV in svg device.
Silly typo.
Diffstat (limited to 'source/fitz/svg-device.c')
-rw-r--r--source/fitz/svg-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/svg-device.c b/source/fitz/svg-device.c
index 9a61fbb0..1a486545 100644
--- a/source/fitz/svg-device.c
+++ b/source/fitz/svg-device.c
@@ -240,7 +240,7 @@ svg_dev_text(fz_context *ctx, svg_device *sdev, const fz_matrix *ctm, const fz_t
int start, is_wspace, was_wspace;
fz_text_span *span;
- for (span = text->head; text; span = span->next)
+ for (span = text->head; span; span = span->next)
{
/* Rely on the fact that trm.{e,f} == 0 */
size = fz_matrix_expansion(&span->trm);