diff src/objects-xlike-inc.c @ 4809:0d3ccd5a2509

Initialize the result variable passed to FcFontMatch. See xemacs-patches message <870180fe1001071349i63d185bfu4906c5a4399407cd@mail.gmail.com>.
author Jerry James <james@xemacs.org>
date Thu, 07 Jan 2010 14:50:24 -0700
parents 75975fd0b7fc
children b3ce27ca7647 8b63e21b0436
line wrap: on
line diff
--- a/src/objects-xlike-inc.c	Thu Jan 07 12:44:25 2010 -0700
+++ b/src/objects-xlike-inc.c	Thu Jan 07 14:50:24 2010 -0700
@@ -445,6 +445,7 @@
 	FcDefaultSubstitute (p);
 	PRINT_XFT_PATTERN (3, "FcDefaultSubstitute'ed name is %s\n", p);
 	/* #### check fcresult of following match? */
+	fcresult = FcResultMatch;
 	fontxft = FcFontMatch (fcc, p, &fcresult);
 	switch (fcresult)
 	  {