mirror of https://github.com/OpenRCT2/OpenRCT2.git
Merge pull request #3065 from YJSoft/fix-xp-ttf-load
Fix windows xp ttf font loading problem
This commit is contained in:
commit
795bc0d471
|
@ -57,6 +57,7 @@ Includes all git commit authors. Aliases are GitHub user names.
|
|||
* Michael Pham (nightroan)
|
||||
* Hielke Morsink (Broxzier)
|
||||
* Lucas Riutzel (jackinloadup)
|
||||
* Youngjae Yu (YJSoft)
|
||||
|
||||
## Toolchain
|
||||
* (Balletie) - OSX
|
||||
|
|
|
@ -957,7 +957,7 @@ bool platform_get_font_path(TTFFontDescriptor *font, utf8 *buffer)
|
|||
}
|
||||
#else
|
||||
log_warning("Compatibility hack: falling back to C:\\Windows\\Fonts");
|
||||
strcat(buffer, "C:\\Windows\\Fonts\\");
|
||||
strcpy(buffer, "C:\\Windows\\Fonts\\");
|
||||
strcat(buffer, font->filename);
|
||||
return true;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue