diff options
| author | Richard M. Stallman | 1994-09-16 08:51:35 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-09-16 08:51:35 +0000 |
| commit | 3f8600ae72e5ddf899f611475fd72603e2430645 (patch) | |
| tree | 2e8326bbd2f8a2181eaa3438b8e9067b5f67bc2d /src | |
| parent | d0c9d2196c8fc31700fc22f0b89ae473f29ee845 (diff) | |
| download | emacs-3f8600ae72e5ddf899f611475fd72603e2430645.tar.gz emacs-3f8600ae72e5ddf899f611475fd72603e2430645.zip | |
(Fx_display_grayscale_p): Check for > 1 pane.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfns.c b/src/xfns.c index 0fc157baf85..5cc17d674a5 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -3018,7 +3018,7 @@ DEFUN ("x-display-grayscale-p", Fx_display_grayscale_p, Sx_display_grayscale_p, | |||
| 3018 | { | 3018 | { |
| 3019 | check_x (); | 3019 | check_x (); |
| 3020 | 3020 | ||
| 3021 | return (x_screen_planes > 2 | 3021 | return (x_screen_planes > 1 |
| 3022 | && (screen_visual->class == StaticGray | 3022 | && (screen_visual->class == StaticGray |
| 3023 | || screen_visual->class == GrayScale)); | 3023 | || screen_visual->class == GrayScale)); |
| 3024 | } | 3024 | } |