diff options
| author | Thien-Thi Nguyen | 2005-04-18 11:34:46 +0000 |
|---|---|---|
| committer | Thien-Thi Nguyen | 2005-04-18 11:34:46 +0000 |
| commit | 7d603e3f8e85afcde9192526857daa7c238d6b90 (patch) | |
| tree | e1686358eb8710b454f86723bd39e68ece85ada9 /src | |
| parent | cae0724067c878fd2aba1d51c0101053a53eaf5c (diff) | |
| download | emacs-7d603e3f8e85afcde9192526857daa7c238d6b90.tar.gz emacs-7d603e3f8e85afcde9192526857daa7c238d6b90.zip | |
(realize_x_face) [!HAVE_WINDOW_SYSTEM]: Return NULL.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/xfaces.c | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 953c38dbdb9..da5010751f9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2005-04-18 Thien-Thi Nguyen <ttn@gnu.org> | ||
| 2 | |||
| 3 | * xfaces.c (realize_x_face) [!HAVE_WINDOW_SYSTEM]: Return NULL. | ||
| 4 | |||
| 1 | 2005-04-18 Lute Kamstra <lute@gnu.org> | 5 | 2005-04-18 Lute Kamstra <lute@gnu.org> |
| 2 | 6 | ||
| 3 | * lread.c (Vloads_in_progress): Static. | 7 | * lread.c (Vloads_in_progress): Static. |
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) | |||
| 7084 | int c; | 7084 | int c; |
| 7085 | struct face *base_face; | 7085 | struct face *base_face; |
| 7086 | { | 7086 | { |
| 7087 | struct face *face = NULL; | ||
| 7087 | #ifdef HAVE_WINDOW_SYSTEM | 7088 | #ifdef HAVE_WINDOW_SYSTEM |
| 7088 | struct face *face, *default_face; | 7089 | struct face *default_face; |
| 7089 | struct frame *f; | 7090 | struct frame *f; |
| 7090 | Lisp_Object stipple, overline, strike_through, box; | 7091 | Lisp_Object stipple, overline, strike_through, box; |
| 7091 | 7092 | ||
| @@ -7281,8 +7282,8 @@ realize_x_face (cache, attrs, c, base_face) | |||
| 7281 | face->stipple = load_pixmap (f, stipple, &face->pixmap_w, &face->pixmap_h); | 7282 | face->stipple = load_pixmap (f, stipple, &face->pixmap_w, &face->pixmap_h); |
| 7282 | 7283 | ||
| 7283 | xassert (FACE_SUITABLE_FOR_CHAR_P (face, c)); | 7284 | xassert (FACE_SUITABLE_FOR_CHAR_P (face, c)); |
| 7284 | return face; | ||
| 7285 | #endif /* HAVE_WINDOW_SYSTEM */ | 7285 | #endif /* HAVE_WINDOW_SYSTEM */ |
| 7286 | return face; | ||
| 7286 | } | 7287 | } |
| 7287 | 7288 | ||
| 7288 | 7289 | ||