mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* src/androidfns.c (Fx_display_grayscale_p): Fix value on color displays.
This commit is contained in:
parent
b2a77b6e01
commit
057e990fba
1 changed files with 1 additions and 2 deletions
|
|
@ -1271,8 +1271,7 @@ DEFUN ("x-display-grayscale-p", Fx_display_grayscale_p,
|
|||
struct android_display_info *dpyinfo;
|
||||
|
||||
dpyinfo = check_android_display_info (terminal);
|
||||
return (dpyinfo->n_planes > 1 && dpyinfo->n_planes <= 8
|
||||
? Qt : Qnil);
|
||||
return dpyinfo->n_planes > 1 ? Qt : Qnil;
|
||||
}
|
||||
|
||||
DEFUN ("x-display-pixel-width", Fx_display_pixel_width,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue