summaryrefslogtreecommitdiff
path: root/image
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2012-11-12 21:27:53 +0100
committerOle Loots <ole@monochrom.net>2012-11-12 21:27:53 +0100
commit082c76d9c3d381f233902bbb656b40f5b6670b7f (patch)
tree68823478ec7563a103d493f9040e9b6dc6aadb60 /image
parent44808e1c52b217cced501b946059324e55848dfa (diff)
parent6641b082f8b003dbc887003776c060f3d53c95c7 (diff)
downloadnetsurf-082c76d9c3d381f233902bbb656b40f5b6670b7f.tar.gz
netsurf-082c76d9c3d381f233902bbb656b40f5b6670b7f.tar.bz2
Merge branch 'master' of git://git.netsurf-browser.org/netsurf
Diffstat (limited to 'image')
-rw-r--r--image/svg.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/image/svg.c b/image/svg.c
index 54a48083b..76be76ac2 100644
--- a/image/svg.c
+++ b/image/svg.c
@@ -138,6 +138,9 @@ static void svg_reformat(struct content *c, int width, int height)
svgtiny_parse(svg->diagram, source_data, source_size,
nsurl_access(content_get_url(c)),
width, height);
+
+ svg->current_width = width;
+ svg->current_height = height;
}
c->width = svg->diagram->width;
@@ -335,7 +338,7 @@ static const content_handler svg_content_handler = {
.redraw = svg_redraw,
.clone = svg_clone,
.type = svg_content_type,
- .no_share = false,
+ .no_share = true
};
static const char *svg_types[] = {