From a588761198845e1600ff019d89d8ee310f80bb45 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 28 Mar 2025 00:09:26 -0600 Subject: [PATCH] [font] Fix void return --- src/hb-font.hh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/hb-font.hh b/src/hb-font.hh index 5945ec1c2..5ce3bd414 100644 --- a/src/hb-font.hh +++ b/src/hb-font.hh @@ -335,11 +335,11 @@ struct hb_font_t hb_position_t *first_advance, unsigned int advance_stride) { - return klass->get.f.glyph_h_advances (this, user_data, - count, - first_glyph, glyph_stride, - first_advance, advance_stride, - !klass->user_data ? nullptr : klass->user_data->glyph_h_advances); + klass->get.f.glyph_h_advances (this, user_data, + count, + first_glyph, glyph_stride, + first_advance, advance_stride, + !klass->user_data ? nullptr : klass->user_data->glyph_h_advances); } void get_glyph_v_advances (unsigned int count, @@ -348,11 +348,11 @@ struct hb_font_t hb_position_t *first_advance, unsigned int advance_stride) { - return klass->get.f.glyph_v_advances (this, user_data, - count, - first_glyph, glyph_stride, - first_advance, advance_stride, - !klass->user_data ? nullptr : klass->user_data->glyph_v_advances); + klass->get.f.glyph_v_advances (this, user_data, + count, + first_glyph, glyph_stride, + first_advance, advance_stride, + !klass->user_data ? nullptr : klass->user_data->glyph_v_advances); } hb_bool_t get_glyph_h_origin (hb_codepoint_t glyph,