aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xfns.c b/src/xfns.c
index d1f35eee4e7..f0cb26b72b4 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -4936,8 +4936,8 @@ x_create_tip_frame (dpyinfo, parms, text)
4936 4936
4937 if (FRAME_X_DISPLAY_INFO (f)->n_planes == 1) 4937 if (FRAME_X_DISPLAY_INFO (f)->n_planes == 1)
4938 disptype = intern ("mono"); 4938 disptype = intern ("mono");
4939 else if (FRAME_X_DISPLAY_INFO (f)->visual->class == GrayScale || 4939 else if (FRAME_X_DISPLAY_INFO (f)->visual->class == GrayScale
4940 FRAME_X_DISPLAY_INFO (f)->visual->class == StaticGray) 4940 || FRAME_X_DISPLAY_INFO (f)->visual->class == StaticGray)
4941 disptype = intern ("grayscale"); 4941 disptype = intern ("grayscale");
4942 else 4942 else
4943 disptype = intern ("color"); 4943 disptype = intern ("color");