# HG changeset patch # User Richard M. Stallman # Date 817042415 0 # Node ID 177fbffc7359ba264540fb99b95673fcb4a386e3 # Parent 397f074182711968b565291b4cbb41c71878bf88 (Fset_face_attribute_internal) [MSDOS]: Set font field to 1. diff -r 397f07418271 -r 177fbffc7359 src/xfaces.c --- a/src/xfaces.c Wed Nov 22 12:09:49 1995 +0000 +++ b/src/xfaces.c Wed Nov 22 12:13:35 1995 +0000 @@ -1156,7 +1156,9 @@ 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)