diff options
Diffstat (limited to 'content/handlers/image/svg.c')
-rw-r--r-- | content/handlers/image/svg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/handlers/image/svg.c b/content/handlers/image/svg.c index 766bb104c..51260733d 100644 --- a/content/handlers/image/svg.c +++ b/content/handlers/image/svg.c @@ -188,14 +188,14 @@ svg_redraw_internal(struct content *c, for (i = 0; i != diagram->shape_count; i++) { if (diagram->shape[i].path) { + pstyle.stroke_width = plot_style_int_to_fixed( + diagram->shape[i].stroke); pstyle.stroke_colour = BGR(diagram->shape[i].stroke); pstyle.fill_colour = BGR(diagram->shape[i].fill); res = ctx->plot->path(ctx, &pstyle, diagram->shape[i].path, diagram->shape[i].path_length, - plot_style_int_to_fixed( - diagram->shape[i].stroke_width), transform); if (res != NSERROR_OK) { return false; |