From 89465cb1c7b8ab61c0ef4887f51572ba91039f3e Mon Sep 17 00:00:00 2001 From: Garret Rieger Date: Wed, 7 Mar 2018 10:29:15 -0800 Subject: [PATCH] [subset] s/hmetrics/vmetrics. --- test/api/test-subset-vmtx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/api/test-subset-vmtx.c b/test/api/test-subset-vmtx.c index f1d94f3..79d41df 100644 --- a/test/api/test-subset-vmtx.c +++ b/test/api/test-subset-vmtx.c @@ -38,8 +38,8 @@ static void check_num_vmetrics(hb_face_t *face, uint16_t expected_num_vmetrics) unsigned int vhea_len; uint8_t *raw_vhea = (uint8_t *) hb_blob_get_data(vhea_blob, &vhea_len); - uint16_t num_hmetrics = (raw_vhea[vhea_len - 2] << 8) + raw_vhea[vhea_len - 1]; - g_assert_cmpuint(expected_num_hmetrics, ==, num_hmetrics); + uint16_t num_vmetrics = (raw_vhea[vhea_len - 2] << 8) + raw_vhea[vhea_len - 1]; + g_assert_cmpuint(expected_num_vmetrics, ==, num_vmetrics); hb_blob_destroy (vhea_blob); hb_blob_destroy (vmtx_blob); -- 2.7.4