aboutsummaryrefslogtreecommitdiffstats
path: root/src/xfaces.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xfaces.c')
-rw-r--r--src/xfaces.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfaces.c b/src/xfaces.c
index faae8352cb3..b3eba748720 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -5333,7 +5333,7 @@ substitution of a `dim' face for italic. */)
5333 /* See if the capabilities we selected above are supported, with the 5333 /* See if the capabilities we selected above are supported, with the
5334 given colors. */ 5334 given colors. */
5335 if (test_caps != 0 && 5335 if (test_caps != 0 &&
5336 ! tty_capable_p (f, test_caps, fg_tty_color.pixel, bg_tty_color.pixel)) 5336 ! tty_capable_p (FRAME_TTY (SELECTED_FRAME ()), test_caps, fg_tty_color.pixel, bg_tty_color.pixel))
5337 return Qnil; 5337 return Qnil;
5338 5338
5339 5339