Fix for STORM-1854. Adapted the fix based on other open source consumers of fontconfig that were encountering the same error.

master
Logan Dethrow 2012-11-30 18:26:56 -05:00
parent f5a47417fd
commit 6cff95f8c7
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}