Fix compilation when building WITH_NS_SVG

svn path=/trunk/netsurf/; revision=10213
This commit is contained in:
Chris Young 2010-03-30 18:12:21 +00:00
parent b890b79254
commit 07537e5240
2 changed files with 2 additions and 2 deletions

View File

@ -344,7 +344,7 @@ static const struct handler_entry handler_map[] = {
#endif
#ifdef WITH_NS_SVG
{svg_create, 0, svg_convert,
svn_reformat, svg_destroy, 0, svg_redraw, 0, 0, 0, true},
svg_reformat, svg_destroy, 0, svg_redraw, 0, 0, 0, true},
#endif
#ifdef WITH_RSVG
{rsvg_create, rsvg_process_data, rsvg_convert,

View File

@ -92,7 +92,7 @@ void svg_reformat(struct content *c, int width, int height)
source_data = content__get_source_data(c, &source_size);
svgtiny_parse(c->data.svg.diagram, source_data, source_size,
content__get_url(c), w, h);
content__get_url(c), width, height);
c->data.svg.done_parse = true;
}