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:
parent
0125e33720
commit
bc895d6707
|
@ -224,3 +224,9 @@ uiFontButton *uiNewFontButton(void)
|
||||||
|
|
||||||
return b;
|
return b;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void uiFreeFontButtonFont(uiFontDescriptor *desc)
|
||||||
|
{
|
||||||
|
// TODO ensure this is synchronized with fontmatch.m
|
||||||
|
uiFreeText((char *) (desc->Family));
|
||||||
|
}
|
||||||
|
|
|
@ -17,3 +17,8 @@ void uiFreeText(char *s)
|
||||||
{
|
{
|
||||||
free(s);
|
free(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int uiprivStricmp(const char *a, const char *b)
|
||||||
|
{
|
||||||
|
return strcasecmp(a, b);
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue