From a9057eb3f38018faa1ece53c4aaeeba798b41fd1 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 9 Aug 2011 00:47:55 +0200 Subject: [PATCH] [uniscribe] Unbreak --- src/hb-uniscribe-shape.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-uniscribe-shape.cc b/src/hb-uniscribe-shape.cc index b3653e720..7962f3a1c 100644 --- a/src/hb-uniscribe-shape.cc +++ b/src/hb-uniscribe-shape.cc @@ -219,11 +219,11 @@ hb_uniscribe_shape (hb_font_t *font, } HB_STMT_END; hb_uniscribe_face_data_t *face_data = _hb_uniscribe_face_get_data (font->face); - if (unlikely (!face_data)) + if (unlikely (!face_data->fh)) FAIL ("Couldn't get face data"); hb_uniscribe_font_data_t *font_data = _hb_uniscribe_font_get_data (font); - if (unlikely (!font_data)) + if (unlikely (!font_data->hfont)) FAIL ("Couldn't get font font"); if (unlikely (!buffer->len))