And added the necessary functions on OS X. Now to do some final cleanup before merging back in (at long last).

This commit is contained in:
Pietro Gagliardi 2018-03-17 23:55:33 -04:00
parent 0125e33720
commit bc895d6707
2 changed files with 11 additions and 0 deletions

View File

@ -224,3 +224,9 @@ uiFontButton *uiNewFontButton(void)
return b;
}
void uiFreeFontButtonFont(uiFontDescriptor *desc)
{
// TODO ensure this is synchronized with fontmatch.m
uiFreeText((char *) (desc->Family));
}

View File

@ -17,3 +17,8 @@ void uiFreeText(char *s)
{
free(s);
}
int uiprivStricmp(const char *a, const char *b)
{
return strcasecmp(a, b);
}