mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-11 05:19:18 +03:00
Fix compilation when building WITH_NS_SVG
svn path=/trunk/netsurf/; revision=10213
This commit is contained in:
parent
b890b79254
commit
07537e5240
@ -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,
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user