Commit 8ff096c1 authored by Paul Eggert's avatar Paul Eggert
Browse files

* ftfont.c (ftfont_resolve_generic_family): Fix pointer signedness.

parent e2be39f6
2011-03-19 Paul Eggert <eggert@cs.ucla.edu>
 
* ftfont.c (ftfont_resolve_generic_family): Fix pointer signedness.
* xfont.c (xfont_list_family): Mark var as initialized.
 
* xml.c (make_dom): Now static.
......@@ -311,8 +311,9 @@ ftfont_resolve_generic_family (Lisp_Object family, FcPattern *pattern)
if (FcPatternGetLangSet (pattern, FC_LANG, 0, &langset) != FcResultMatch)
{
/* This is to avoid the effect of locale. */
static const FcChar8 lang[] = "en";
langset = FcLangSetCreate ();
FcLangSetAdd (langset, "en");
FcLangSetAdd (langset, lang);
FcPatternAddLangSet (pattern, FC_LANG, langset);
FcLangSetDestroy (langset);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment