Fix for emoji names

FossilOrigin-Name: ae6766f4be02d0226ac1ae747f82cd0a6831d1b500c68d0d7868f649c431aa65
This commit is contained in:
nekobit 2022-05-21 19:49:12 +00:00
parent 711a34dcf8
commit 48c08f1f73

View file

@ -29,7 +29,7 @@
char* emojify(char* content, struct mstdnt_emoji* emos, size_t emos_len)
{
if (!(content && emos && emos_len)) return NULL;
if (!content) return NULL;
size_t sc_len;
char* oldres = NULL;
char* res = content;