Mercurial > hg > xemacs-beta
diff src/objects-msw.c @ 4933:77e3b19bd245
merge
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Sun, 24 Jan 2010 22:06:20 -0600 |
parents | 8b63e21b0436 |
children | 19a72041c5ed |
line wrap: on
line diff
--- a/src/objects-msw.c Sun Jan 24 19:56:31 2010 +0000 +++ b/src/objects-msw.c Sun Jan 24 22:06:20 2010 -0600 @@ -1837,6 +1837,8 @@ hfont = create_hfont_from_font_spec (namestr, hdc, name, device_font_list, errb, &truename); + if (!hfont) + return 0; f->truename = truename; f->data = xnew_and_zero (struct mswindows_font_instance_data); FONT_INSTANCE_MSWINDOWS_HFONT_VARIANT (f, 0, 0) = hfont;