mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 21:51:08 +00:00
gtk-demo: Fix incorrect use of g_strdup_printf
Was broken in a refactoring in 4a2f313
This commit is contained in:
parent
9e4901e8ce
commit
25e4174a38
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user