projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52b4185
)
Minor
author
Behdad Esfahbod
<behdad@behdad.org>
Wed, 7 Oct 2015 21:33:02 +0000
(17:33 -0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Wed, 7 Oct 2015 21:33:02 +0000
(17:33 -0400)
src/hb-ot-font.cc
patch
|
blob
|
history
diff --git
a/src/hb-ot-font.cc
b/src/hb-ot-font.cc
index
9cde838
..
3d861ec
100644
(file)
--- a/
src/hb-ot-font.cc
+++ b/
src/hb-ot-font.cc
@@
-238,10
+238,9
@@
struct hb_ot_font_t
static hb_ot_font_t *
-_hb_ot_font_create (hb_f
ont_t *font
)
+_hb_ot_font_create (hb_f
ace_t *face
)
{
hb_ot_font_t *ot_font = (hb_ot_font_t *) calloc (1, sizeof (hb_ot_font_t));
- hb_face_t *face = font->face;
if (unlikely (!ot_font))
return NULL;
@@
-423,7
+422,7
@@
_hb_ot_get_font_funcs (void)
void
hb_ot_font_set_funcs (hb_font_t *font)
{
- hb_ot_font_t *ot_font = _hb_ot_font_create (font);
+ hb_ot_font_t *ot_font = _hb_ot_font_create (font
->face
);
if (unlikely (!ot_font))
return;