diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfaces.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index f67ea61b37a..99355cca6af 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -5717,6 +5717,8 @@ lookup_named_face (f, symbol, c, signal_p) | |||
| 5717 | if (!realize_basic_faces (f)) | 5717 | if (!realize_basic_faces (f)) |
| 5718 | return -1; | 5718 | return -1; |
| 5719 | default_face = FACE_FROM_ID (f, DEFAULT_FACE_ID); | 5719 | default_face = FACE_FROM_ID (f, DEFAULT_FACE_ID); |
| 5720 | if (default_face == NULL) | ||
| 5721 | abort (); /* realize_basic_faces must have set it up */ | ||
| 5720 | } | 5722 | } |
| 5721 | 5723 | ||
| 5722 | if (!get_lface_attributes (f, symbol, symbol_attrs, signal_p)) | 5724 | if (!get_lface_attributes (f, symbol, symbol_attrs, signal_p)) |
| @@ -6221,6 +6223,8 @@ face for italic. */) | |||
| 6221 | if (! realize_basic_faces (f)) | 6223 | if (! realize_basic_faces (f)) |
| 6222 | error ("Cannot realize default face"); | 6224 | error ("Cannot realize default face"); |
| 6223 | def_face = FACE_FROM_ID (f, DEFAULT_FACE_ID); | 6225 | def_face = FACE_FROM_ID (f, DEFAULT_FACE_ID); |
| 6226 | if (def_face == NULL) | ||
| 6227 | abort (); /* realize_basic_faces must have set it up */ | ||
| 6224 | } | 6228 | } |
| 6225 | 6229 | ||
| 6226 | /* Dispatch to the appropriate handler. */ | 6230 | /* Dispatch to the appropriate handler. */ |