diff options
Diffstat (limited to 'src/xfaces.c')
| -rw-r--r-- | src/xfaces.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index 18e5d9a6119..6373100484a 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -1192,7 +1192,7 @@ load_pixmap (f, name, w_ptr, h_ptr) | |||
| 1192 | 1192 | ||
| 1193 | if (bitmap_id < 0) | 1193 | if (bitmap_id < 0) |
| 1194 | { | 1194 | { |
| 1195 | add_to_log ("Invalid or undefined bitmap %s", name, Qnil); | 1195 | add_to_log ("Invalid or undefined bitmap `%s'", name, Qnil); |
| 1196 | bitmap_id = 0; | 1196 | bitmap_id = 0; |
| 1197 | 1197 | ||
| 1198 | if (w_ptr) | 1198 | if (w_ptr) |
| @@ -5734,6 +5734,8 @@ lookup_named_face (f, symbol, c, signal_p) | |||
| 5734 | if (!realize_basic_faces (f)) | 5734 | if (!realize_basic_faces (f)) |
| 5735 | return -1; | 5735 | return -1; |
| 5736 | default_face = FACE_FROM_ID (f, DEFAULT_FACE_ID); | 5736 | default_face = FACE_FROM_ID (f, DEFAULT_FACE_ID); |
| 5737 | if (default_face == NULL) | ||
| 5738 | abort (); /* realize_basic_faces must have set it up */ | ||
| 5737 | } | 5739 | } |
| 5738 | 5740 | ||
| 5739 | if (!get_lface_attributes (f, symbol, symbol_attrs, signal_p)) | 5741 | if (!get_lface_attributes (f, symbol, symbol_attrs, signal_p)) |
| @@ -6238,6 +6240,8 @@ face for italic. */) | |||
| 6238 | if (! realize_basic_faces (f)) | 6240 | if (! realize_basic_faces (f)) |
| 6239 | error ("Cannot realize default face"); | 6241 | error ("Cannot realize default face"); |
| 6240 | def_face = FACE_FROM_ID (f, DEFAULT_FACE_ID); | 6242 | def_face = FACE_FROM_ID (f, DEFAULT_FACE_ID); |
| 6243 | if (def_face == NULL) | ||
| 6244 | abort (); /* realize_basic_faces must have set it up */ | ||
| 6241 | } | 6245 | } |
| 6242 | 6246 | ||
| 6243 | /* Dispatch to the appropriate handler. */ | 6247 | /* Dispatch to the appropriate handler. */ |