Mercurial > emacs
diff src/xfaces.c @ 61628:c897778cd685
(realize_x_face) [!HAVE_WINDOW_SYSTEM]: Return NULL.
author | Thien-Thi Nguyen <ttn@gnuvola.org> |
---|---|
date | Mon, 18 Apr 2005 11:32:29 +0000 |
parents | 18fb43577f76 |
children | a39c60b30e5a 042f282a2ed7 |
line wrap: on
line diff
--- a/src/xfaces.c Mon Apr 18 10:23:41 2005 +0000 +++ b/src/xfaces.c Mon Apr 18 11:32:29 2005 +0000 @@ -7084,8 +7084,9 @@ int c; struct face *base_face; { + struct face *face = NULL; #ifdef HAVE_WINDOW_SYSTEM - struct face *face, *default_face; + struct face *default_face; struct frame *f; Lisp_Object stipple, overline, strike_through, box; @@ -7281,8 +7282,8 @@ face->stipple = load_pixmap (f, stipple, &face->pixmap_w, &face->pixmap_h); xassert (FACE_SUITABLE_FOR_CHAR_P (face, c)); +#endif /* HAVE_WINDOW_SYSTEM */ return face; -#endif /* HAVE_WINDOW_SYSTEM */ }