Mercurial > hg > xemacs-beta
diff src/font-mgr.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 | ca99a807b025 |
children | b3ea9c582280 |
line wrap: on
line diff
--- a/src/font-mgr.c Thu Jan 07 12:44:25 2010 -0700 +++ b/src/font-mgr.c Thu Jan 07 14:50:24 2010 -0700 @@ -1004,6 +1004,7 @@ FcConfigSubstitute (fcc, p, FcMatchPattern); FcDefaultSubstitute (p); + res = FcResultMatch; res_fcpat->fcpatPtr = FcFontMatch (fcc, p, &res); if (res_fcpat->fcpatPtr == NULL)