Don't call FcInitLoadConfigAndFonts after FcInit() already happened

We are only the default global FcConfig created by calling FcInitLoadConfigAndFonts inside FcInit().
Calling FcInitLoadConfigAndFonts does nothing but creating another FcConfig option that never gets disposed or used because we use the FcConfig functions with null


(cherry picked from commit 53bf7b71c6)
This commit is contained in:
Marek Roszko 2023-08-26 11:34:47 -04:00 committed by Mark Roszko
parent 9672390104
commit e1a2d60672
1 changed files with 0 additions and 1 deletions

View File

@ -47,7 +47,6 @@ wxString FONTCONFIG::Version()
FONTCONFIG::FONTCONFIG()
{
(void) FcInitLoadConfigAndFonts();
};