fix last commit, am idiot

This commit is contained in:
UnknownShadow200 2018-12-16 13:10:02 +11:00
parent 8f7c759d7d
commit ddca15d007

View File

@ -919,10 +919,10 @@ static String Font_Lookup(const String* fontName, int style) {
if (!font_list.Entries.Count) Font_Init(); if (!font_list.Entries.Count) Font_Init();
path = String_Empty; path = String_Empty;
if (style & FONT_STYLE_BOLD) path = Font_Lookup(fontName, 'B'); if (style & FONT_STYLE_BOLD) path = Font_LookupOf(fontName, 'B');
if (style & FONT_STYLE_ITALIC) path = Font_Lookup(fontName, 'I'); if (style & FONT_STYLE_ITALIC) path = Font_LookupOf(fontName, 'I');
return Font_Lookup(fontName, 'R'); return Font_LookupOf(fontName, 'R');
} }
void Font_Make(FontDesc* desc, const String* fontName, int size, int style) { void Font_Make(FontDesc* desc, const String* fontName, int size, int style) {