mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-12 10:32:26 +01:00
fix windows xp font loading problem
no need to cat because Fonts path must start with `C:\`
This commit is contained in:
@@ -957,7 +957,7 @@ bool platform_get_font_path(TTFFontDescriptor *font, utf8 *buffer)
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
log_warning("Compatibility hack: falling back to C:\\Windows\\Fonts");
|
log_warning("Compatibility hack: falling back to C:\\Windows\\Fonts");
|
||||||
strcat(buffer, "C:\\Windows\\Fonts\\");
|
strcpy(buffer, "C:\\Windows\\Fonts\\");
|
||||||
strcat(buffer, font->filename);
|
strcat(buffer, font->filename);
|
||||||
return true;
|
return true;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user