From 734e9514206d19b84699d4a0486ec20a5ca98278 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 30 Jun 2004 19:35:18 +0000 Subject: [PATCH] (x_supports_face_attributes_p) (Fdisplay_supports_face_attributes_p): YAILOM. (tty_supports_face_attributes_p): Remove unused var `i'. --- src/xfaces.c | 6 +++--- 1 file 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) face = FACE_FROM_ID (f, lookup_face (f, merged_attrs, 0, 0)); if (! face) - signal_error ("cannot make face", 0); + error ("cannot make face"); /* If the font is the same, then not supported. */ if (face->font == def_face->font) @@ -5883,7 +5883,7 @@ tty_supports_face_attributes_p (f, attrs, def_face) Lisp_Object *attrs; struct face *def_face; { - int weight, i; + int weight; Lisp_Object val, fg, bg; XColor fg_tty_color, fg_std_color; XColor bg_tty_color, bg_std_color; @@ -6105,7 +6105,7 @@ face for italic. */) if (def_face == NULL) { if (! realize_basic_faces (f)) - signal_error ("Cannot realize default face", 0); + error ("Cannot realize default face"); def_face = FACE_FROM_ID (f, DEFAULT_FACE_ID); } -- 2.39.2