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
1 changed files with 1 additions and 1 deletions

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);