Commit 88d9cecb authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Fset_face_attribute_internal) [MSDOS]: Set font field to 1.

parent 64ec6a02
......@@ -1156,7 +1156,9 @@ DEFUN ("set-face-attribute-internal", Fset_face_attribute_internal,
if (EQ (attr_name, intern ("font")))
#if defined (MSDOS) && !defined (HAVE_X_WINDOWS)
face->font = 0; /* The one and only font. */
/* The one and only font. Must *not* be zero (which
is taken to mean an unused face nowadays). */
face->font = (XFontStruct *)1 ;
XFontStruct *font = load_font (f, attr_value);
if (face->font != f->output_data.x->font)
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