Fix test-name-table on older bots

This commit is contained in:
Ebrahim Byagowi 2018-10-27 12:24:53 +03:30 committed by GitHub
parent dc11a38107
commit 0353ac6cde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ main (int argc, char **argv)
hb_blob_t *blob = hb_blob_create_from_file (argv[1]);
hb_face_t *face = hb_face_create (blob, 0 /* first face */);
hb_blob_destroy (blob);
blob = nullptr;
blob = NULL;
const hb_ot_name_entry_t *entries;
unsigned int count = hb_ot_name_get_names (face, &entries);