diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/xterm.c b/src/xterm.c index 469077c8972..095ed316cfa 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -3292,9 +3292,7 @@ x_alloc_nearest_color (struct frame *f, Colormap cmap, XColor *color) | |||
| 3292 | 3292 | ||
| 3293 | gamma_correct (f, color); | 3293 | gamma_correct (f, color); |
| 3294 | 3294 | ||
| 3295 | if (dpyinfo->red_bits > 0 | 3295 | if (dpyinfo->red_bits > 0) |
| 3296 | && (dpyinfo->n_planes != 32 | ||
| 3297 | || dpyinfo->alpha_bits > 0)) | ||
| 3298 | { | 3296 | { |
| 3299 | color->pixel = x_make_truecolor_pixel (dpyinfo, | 3297 | color->pixel = x_make_truecolor_pixel (dpyinfo, |
| 3300 | color->red, | 3298 | color->red, |