Browse Source

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
newinvert
Marek Roszko 2 years ago
parent
commit
53bf7b71c6
  1. 1
      common/font/fontconfig.cpp

1
common/font/fontconfig.cpp

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

Loading…
Cancel
Save