diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/image.c b/src/image.c index 61c5aa760c7..c857b8e62a4 100644 --- a/src/image.c +++ b/src/image.c | |||
| @@ -9808,11 +9808,11 @@ svg_load_image (struct frame *f, struct image *img, char *contents, | |||
| 9808 | 9808 | ||
| 9809 | /* Get the image dimensions. */ | 9809 | /* Get the image dimensions. */ |
| 9810 | #if LIBRSVG_CHECK_VERSION (2, 46, 0) | 9810 | #if LIBRSVG_CHECK_VERSION (2, 46, 0) |
| 9811 | RsvgRectangle zero_rect, viewbox; | 9811 | RsvgRectangle zero_rect, viewbox, out_logical_rect; |
| 9812 | 9812 | ||
| 9813 | rsvg_handle_get_geometry_for_layer (rsvg_handle, NULL, | 9813 | rsvg_handle_get_geometry_for_layer (rsvg_handle, NULL, |
| 9814 | &zero_rect, &viewbox, | 9814 | &zero_rect, &viewbox, |
| 9815 | NULL, NULL); | 9815 | &out_logical_rect, NULL); |
| 9816 | viewbox_width = viewbox.x + viewbox.width; | 9816 | viewbox_width = viewbox.x + viewbox.width; |
| 9817 | viewbox_height = viewbox.y + viewbox.height; | 9817 | viewbox_height = viewbox.y + viewbox.height; |
| 9818 | #else | 9818 | #else |