From c16929159920e75aa44cb72350ca37890dbd0f31 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Wed, 17 Apr 2013 19:07:44 +1000 Subject: Potential fix for http://redmine.kokuaviewer.org/issues/1215 but needs testing. --- linden/indra/llwindow/llwindowsdl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'linden') diff --git a/linden/indra/llwindow/llwindowsdl.cpp b/linden/indra/llwindow/llwindowsdl.cpp index 2f9de6b..69ec3b3 100644 --- a/linden/indra/llwindow/llwindowsdl.cpp +++ b/linden/indra/llwindow/llwindowsdl.cpp @@ -2521,9 +2521,10 @@ std::vector LLWindowSDL::getDynamicFallbackFontList() sortpat = FcNameParse((FcChar8*) sort_order.c_str()); if (sortpat) { + FcResult dummyResult; // Sort the list of system fonts from most-to-least-desirable. fs = FcFontSort(NULL, sortpat, elide_unicode_coverage, - NULL, NULL); + NULL, &dummyResult); FcPatternDestroy(sortpat); } -- cgit v1.1