From c442672ec2fb83ed41f3994b3aa4f92a097664ab Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 24 May 2010 18:02:32 +0100 Subject: [PATCH] Fix struct initializers --- src/hb-ft.cc | 12 ++++++------ src/hb-glib.c | 14 +++++++------- src/hb-icu.c | 14 +++++++------- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/hb-ft.cc b/src/hb-ft.cc index 136073335..aee64f64d 100644 --- a/src/hb-ft.cc +++ b/src/hb-ft.cc @@ -128,13 +128,13 @@ hb_ft_get_kerning (hb_font_t *font HB_UNUSED, static hb_font_funcs_t ft_ffuncs = { HB_REFERENCE_COUNT_INVALID, /* ref_count */ - TRUE, /* immutable */ - - hb_ft_get_glyph, - hb_ft_get_contour_point, - hb_ft_get_glyph_metrics, - hb_ft_get_kerning + { + hb_ft_get_glyph, + hb_ft_get_contour_point, + hb_ft_get_glyph_metrics, + hb_ft_get_kerning + } }; hb_font_funcs_t * diff --git a/src/hb-glib.c b/src/hb-glib.c index f1497d923..d336c465c 100644 --- a/src/hb-glib.c +++ b/src/hb-glib.c @@ -41,14 +41,14 @@ static unsigned int hb_glib_get_eastasian_width (hb_codepoint_t unicode) { retur static hb_unicode_funcs_t glib_ufuncs = { HB_REFERENCE_COUNT_INVALID, /* ref_count */ - TRUE, /* immutable */ - - hb_glib_get_general_category, - hb_glib_get_combining_class, - hb_glib_get_mirroring, - hb_glib_get_script, - hb_glib_get_eastasian_width + { + hb_glib_get_general_category, + hb_glib_get_combining_class, + hb_glib_get_mirroring, + hb_glib_get_script, + hb_glib_get_eastasian_width + } }; hb_unicode_funcs_t * diff --git a/src/hb-icu.c b/src/hb-icu.c index 2d1ef85ca..dc97a5416 100644 --- a/src/hb-icu.c +++ b/src/hb-icu.c @@ -231,14 +231,14 @@ hb_icu_get_script (hb_codepoint_t unicode) static hb_unicode_funcs_t icu_ufuncs = { HB_REFERENCE_COUNT_INVALID, /* ref_count */ - TRUE, /* immutable */ - - hb_icu_get_general_category, - hb_icu_get_combining_class, - hb_icu_get_mirroring, - hb_icu_get_script, - hb_icu_get_eastasian_width + { + hb_icu_get_general_category, + hb_icu_get_combining_class, + hb_icu_get_mirroring, + hb_icu_get_script, + hb_icu_get_eastasian_width + } }; hb_unicode_funcs_t *