[cairo-commit] src/cairo-svg-surface.c
Bryce Harrington
bryce at kemper.freedesktop.org
Mon Dec 11 04:22:05 UTC 2017
src/cairo-svg-surface.c | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
New commits:
commit 19ee9211879ad8c90ee7d467d8d9495dc9a0fa88
Author: Antonio Ospite <ao2 at ao2.it>
Date: Fri Dec 8 09:44:27 2017 +0100
svg: fix compilation with MSVC which doesn't support C99 initializers
Reviewed-by: Bryce Harrington <bryce at osg.samsung.com>
Tested-by: John Emmas <john at creativepost.co.uk>
diff --git a/src/cairo-svg-surface.c b/src/cairo-svg-surface.c
index 1b568542..c2ef83ef 100644
--- a/src/cairo-svg-surface.c
+++ b/src/cairo-svg-surface.c
@@ -124,16 +124,16 @@ static const char * _cairo_svg_internal_version_strings[CAIRO_SVG_VERSION_LAST]
static const char * _cairo_svg_unit_strings[] =
{
- [CAIRO_SVG_UNIT_USER] = "",
- [CAIRO_SVG_UNIT_EM] = "em",
- [CAIRO_SVG_UNIT_EX] = "ex",
- [CAIRO_SVG_UNIT_PX] = "px",
- [CAIRO_SVG_UNIT_IN] = "in",
- [CAIRO_SVG_UNIT_CM] = "cm",
- [CAIRO_SVG_UNIT_MM] = "mm",
- [CAIRO_SVG_UNIT_PT] = "pt",
- [CAIRO_SVG_UNIT_PC] = "pc",
- [CAIRO_SVG_UNIT_PERCENT] = "%"
+ "",
+ "em",
+ "ex",
+ "px",
+ "in",
+ "cm",
+ "mm",
+ "pt",
+ "pc",
+ "%"
};
struct cairo_svg_page {
More information about the cairo-commit
mailing list