diff options
| author | Stefan Monnier | 2004-06-30 19:35:18 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2004-06-30 19:35:18 +0000 |
| commit | 734e9514206d19b84699d4a0486ec20a5ca98278 (patch) | |
| tree | 574bf725ebf5b4f0bb79386ceb14c1d6d90fb5c4 /src | |
| parent | 4f55e211b47532257e0013f2089e62f07a68bc57 (diff) | |
| download | emacs-734e9514206d19b84699d4a0486ec20a5ca98278.tar.gz emacs-734e9514206d19b84699d4a0486ec20a5ca98278.zip | |
(x_supports_face_attributes_p)
(Fdisplay_supports_face_attributes_p): YAILOM.
(tty_supports_face_attributes_p): Remove unused var `i'.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfaces.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index 17f4490774c..7f5012f3e0a 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -5848,7 +5848,7 @@ x_supports_face_attributes_p (f, attrs, def_face) | |||
| 5848 | face = FACE_FROM_ID (f, lookup_face (f, merged_attrs, 0, 0)); | 5848 | face = FACE_FROM_ID (f, lookup_face (f, merged_attrs, 0, 0)); |
| 5849 | 5849 | ||
| 5850 | if (! face) | 5850 | if (! face) |
| 5851 | signal_error ("cannot make face", 0); | 5851 | error ("cannot make face"); |
| 5852 | 5852 | ||
| 5853 | /* If the font is the same, then not supported. */ | 5853 | /* If the font is the same, then not supported. */ |
| 5854 | if (face->font == def_face->font) | 5854 | if (face->font == def_face->font) |
| @@ -5883,7 +5883,7 @@ tty_supports_face_attributes_p (f, attrs, def_face) | |||
| 5883 | Lisp_Object *attrs; | 5883 | Lisp_Object *attrs; |
| 5884 | struct face *def_face; | 5884 | struct face *def_face; |
| 5885 | { | 5885 | { |
| 5886 | int weight, i; | 5886 | int weight; |
| 5887 | Lisp_Object val, fg, bg; | 5887 | Lisp_Object val, fg, bg; |
| 5888 | XColor fg_tty_color, fg_std_color; | 5888 | XColor fg_tty_color, fg_std_color; |
| 5889 | XColor bg_tty_color, bg_std_color; | 5889 | XColor bg_tty_color, bg_std_color; |
| @@ -6105,7 +6105,7 @@ face for italic. */) | |||
| 6105 | if (def_face == NULL) | 6105 | if (def_face == NULL) |
| 6106 | { | 6106 | { |
| 6107 | if (! realize_basic_faces (f)) | 6107 | if (! realize_basic_faces (f)) |
| 6108 | signal_error ("Cannot realize default face", 0); | 6108 | error ("Cannot realize default face"); |
| 6109 | def_face = FACE_FROM_ID (f, DEFAULT_FACE_ID); | 6109 | def_face = FACE_FROM_ID (f, DEFAULT_FACE_ID); |
| 6110 | } | 6110 | } |
| 6111 | 6111 | ||