emoji: Fix the convert-emoji program

The annotation field has been renamed to label in emojibase-data

https://github.com/milesj/emojibase/blob/b85382524c/packages/data/CHANGELOG.md
This commit is contained in:
Kévin Commaille 2022-02-22 10:44:43 +01:00
parent 8f02ea39e5
commit 70ce353a58
No known key found for this signature in database
GPG Key ID: DD507DAE96E8245C

View File

@ -122,7 +122,7 @@ main (int argc, char *argv[])
continue;
group = json_object_get_int_member (obj, "group");
name = json_object_get_string_member (obj, "annotation");
name = json_object_get_string_member (obj, "label");
if (json_object_has_member (obj, "skins"))
{