summaryrefslogtreecommitdiff
path: root/source/svg
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-10-12 16:10:42 +0200
committerTor Andersson <tor.andersson@artifex.com>2016-10-12 16:10:42 +0200
commitd72708a39f2c95cd54c6c41cb642cda55cb8f487 (patch)
treede607adae0f26528f474c04f84b651fceac20676 /source/svg
parent177f4b7d403d568293ecd101dc4ed227228dc450 (diff)
downloadmupdf-d72708a39f2c95cd54c6c41cb642cda55cb8f487.tar.xz
svg: Remove newlines from fz_warn messages.
Diffstat (limited to 'source/svg')
-rw-r--r--source/svg/svg-run.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/svg/svg-run.c b/source/svg/svg-run.c
index 8cffce6d..e05096ae 100644
--- a/source/svg/svg-run.c
+++ b/source/svg/svg-run.c
@@ -643,7 +643,7 @@ svg_parse_viewport(fz_context *ctx, svg_document *doc, fz_xml *node, svg_state *
if (h_att) h = svg_parse_length(h_att, state->viewbox_h, state->fontsize);
/* TODO: new transform */
- fz_warn(ctx, "push viewport: %g %g %g %g\n", x, y, w, h);
+ fz_warn(ctx, "push viewport: %g %g %g %g", x, y, w, h);
state->viewport_w = w;
state->viewport_h = h;
@@ -664,7 +664,7 @@ svg_parse_viewbox(fz_context *ctx, svg_document *doc, fz_xml *node, svg_state *s
sscanf(viewbox_att, "%g %g %g %g", &min_x, &min_y, &box_w, &box_h);
/* scale and translate to fit [x y w h] to [0 0 viewport.w viewport.h] */
- fz_warn(ctx, "push viewbox: %g %g %g %g\n", min_x, min_y, box_w, box_h);
+ fz_warn(ctx, "push viewbox: %g %g %g %g", min_x, min_y, box_w, box_h);
}
}