From: Behdad Esfahbod Date: Sun, 20 Dec 2009 15:29:17 +0000 (+0100) Subject: Direct unicode->get_mirroring directly X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2c1b85cf66e5ecb7521b6018b76f0e161fb68967;p=platform%2Fupstream%2FlibHarfBuzzSharp.git Direct unicode->get_mirroring directly --- diff --git a/src/hb-shape.c b/src/hb-shape.c index 74cab9e..2ad9457 100644 --- a/src/hb-shape.c +++ b/src/hb-shape.c @@ -107,14 +107,14 @@ static void hb_mirror_chars (hb_buffer_t *buffer) { unsigned int count; - hb_unicode_funcs_t *unicode = buffer->unicode; + hb_unicode_get_mirroring_func_t get_mirroring = buffer->unicode->get_mirroring; if (HB_DIRECTION_IS_FORWARD (buffer->direction)) return; count = buffer->in_length; for (buffer->in_pos = 0; buffer->in_pos < count; buffer->in_pos++) { - IN_CURGLYPH() = hb_unicode_get_mirroring (unicode, IN_CURGLYPH()); + IN_CURGLYPH() = get_mirroring (IN_CURGLYPH()); } }