mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-16 11:06:06 -04:00
fix last commit, am idiot
This commit is contained in:
parent
8f7c759d7d
commit
ddca15d007
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user