comparison 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
comparison
equal deleted inserted replaced
4808:53071486ff7a 4809:0d3ccd5a2509
443 FcConfigSubstitute (fcc, p, FcMatchPattern); 443 FcConfigSubstitute (fcc, p, FcMatchPattern);
444 PRINT_XFT_PATTERN (2, "FcConfigSubstitute'ed name is %s\n", p); 444 PRINT_XFT_PATTERN (2, "FcConfigSubstitute'ed name is %s\n", p);
445 FcDefaultSubstitute (p); 445 FcDefaultSubstitute (p);
446 PRINT_XFT_PATTERN (3, "FcDefaultSubstitute'ed name is %s\n", p); 446 PRINT_XFT_PATTERN (3, "FcDefaultSubstitute'ed name is %s\n", p);
447 /* #### check fcresult of following match? */ 447 /* #### check fcresult of following match? */
448 fcresult = FcResultMatch;
448 fontxft = FcFontMatch (fcc, p, &fcresult); 449 fontxft = FcFontMatch (fcc, p, &fcresult);
449 switch (fcresult) 450 switch (fcresult)
450 { 451 {
451 /* case FcResultOutOfMemory: */ 452 /* case FcResultOutOfMemory: */
452 case FcResultNoMatch: 453 case FcResultNoMatch: