Fix for STORM-1854. Adapted the fix based on other open source consumers of fontconfig that were encountering the same error.
parent
f5a47417fd
commit
6cff95f8c7
|
|
@ -2646,8 +2646,9 @@ std::vector<std::string> LLWindowSDL::getDynamicFallbackFontList()
|
|||
if (sortpat)
|
||||
{
|
||||
// Sort the list of system fonts from most-to-least-desirable.
|
||||
FcResult result;
|
||||
fs = FcFontSort(NULL, sortpat, elide_unicode_coverage,
|
||||
NULL, NULL);
|
||||
NULL, result);
|
||||
FcPatternDestroy(sortpat);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue