From ddca15d007b06ff090472fb1a4fe8182b6d6d870 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Sun, 16 Dec 2018 13:10:02 +1100 Subject: [PATCH] fix last commit, am idiot --- src/Platform.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Platform.c b/src/Platform.c index 047edc4fa..e83f4740a 100644 --- a/src/Platform.c +++ b/src/Platform.c @@ -919,10 +919,10 @@ static String Font_Lookup(const String* fontName, int style) { if (!font_list.Entries.Count) Font_Init(); path = String_Empty; - if (style & FONT_STYLE_BOLD) path = Font_Lookup(fontName, 'B'); - if (style & FONT_STYLE_ITALIC) path = Font_Lookup(fontName, 'I'); + if (style & FONT_STYLE_BOLD) path = Font_LookupOf(fontName, 'B'); + 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) {