gtk-demo: Fix incorrect use of g_strdup_printf

Was broken in a refactoring in 4a2f313
This commit is contained in:
Robert Ancell 2019-11-26 10:11:28 +13:00
parent 9e4901e8ce
commit 25e4174a38

View File

@ -880,7 +880,7 @@ add_instance (hb_face_t *face,
name_id = hb_ot_var_named_instance_get_subfamily_name_id (face, index);
hb_ot_name_get_utf8 (face, name_id, HB_LANGUAGE_INVALID, &name_len, name);
instance->name = g_strdup_printf (name);
instance->name = g_strdup (name);
instance->index = index;
g_hash_table_add (instances, instance);