diff options
author | Thien-Thi Nguyen <ttn@gnuvola.org> | 2005-04-18 11:34:46 +0000 |
---|---|---|
committer | Thien-Thi Nguyen <ttn@gnuvola.org> | 2005-04-18 11:34:46 +0000 |
commit | 7d603e3f8e85afcde9192526857daa7c238d6b90 (patch) | |
tree | e1686358eb8710b454f86723bd39e68ece85ada9 /src/xfaces.c | |
parent | cae0724067c878fd2aba1d51c0101053a53eaf5c (diff) | |
download | emacs-7d603e3f8e85afcde9192526857daa7c238d6b90.tar.gz |
(realize_x_face) [!HAVE_WINDOW_SYSTEM]: Return NULL.
Diffstat (limited to 'src/xfaces.c')
-rw-r--r-- | src/xfaces.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index 146036aa97e..3ff8917ff91 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -7084,8 +7084,9 @@ realize_x_face (cache, attrs, c, base_face) 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 @@ realize_x_face (cache, attrs, c, base_face) face->stipple = load_pixmap (f, stipple, &face->pixmap_w, &face->pixmap_h); xassert (FACE_SUITABLE_FOR_CHAR_P (face, c)); - return face; #endif /* HAVE_WINDOW_SYSTEM */ + return face; } |