diff options
| author | Eli Zaretskii | 2005-02-05 12:14:45 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2005-02-05 12:14:45 +0000 |
| commit | 6a46b96b707e13ce5ab5b98ef1d23784b1794cd4 (patch) | |
| tree | ddfa6ba7f7db4b3ebf535469697a40249fca643e /src | |
| parent | 13b9acf0661f77fe0761436017ff2c2210ccfdb1 (diff) | |
| download | emacs-6a46b96b707e13ce5ab5b98ef1d23784b1794cd4.tar.gz emacs-6a46b96b707e13ce5ab5b98ef1d23784b1794cd4.zip | |
(face_color_supported_p): Use HAVE_WINDOW_SYSTEM
instead of HAVE_X_WINDOWS, for non-X windowed sessions.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfaces.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index 3a63e128e4f..c562ce3b592 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -1513,7 +1513,7 @@ face_color_supported_p (f, color_name, background_p) | |||
| 1513 | 1513 | ||
| 1514 | XSETFRAME (frame, f); | 1514 | XSETFRAME (frame, f); |
| 1515 | return | 1515 | return |
| 1516 | #ifdef HAVE_X_WINDOWS | 1516 | #ifdef HAVE_WINDOW_SYSTEM |
| 1517 | FRAME_WINDOW_P (f) | 1517 | FRAME_WINDOW_P (f) |
| 1518 | ? (!NILP (Fxw_display_color_p (frame)) | 1518 | ? (!NILP (Fxw_display_color_p (frame)) |
| 1519 | || xstricmp (color_name, "black") == 0 | 1519 | || xstricmp (color_name, "black") == 0 |