summaryrefslogtreecommitdiff
path: root/image
diff options
context:
space:
mode:
Diffstat (limited to 'image')
-rw-r--r--image/svg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/image/svg.c b/image/svg.c
index 698d20d55..0c35fe757 100644
--- a/image/svg.c
+++ b/image/svg.c
@@ -132,7 +132,8 @@ static void svg_reformat(struct content *c, int width, int height)
source_data = content__get_source_data(c, &source_size);
svgtiny_parse(svg->diagram, source_data, source_size,
- content__get_url(c), width, height);
+ nsurl_access(content__get_url(c)),
+ width, height);
svg->done_parse = true;
}