(Fset_face_attribute_internal) [MSDOS]: Set font field to 1.
This commit is contained in:
parent
64ec6a0251
commit
88d9cecbc6
1 changed files with 3 additions and 1 deletions
|
@ -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 ;
|
||||
#else
|
||||
XFontStruct *font = load_font (f, attr_value);
|
||||
if (face->font != f->output_data.x->font)
|
||||
|
|
Loading…
Add table
Reference in a new issue