aboutsummaryrefslogtreecommitdiffstats
path: root/src/xselect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xselect.c')
-rw-r--r--src/xselect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xselect.c b/src/xselect.c
index 1f51be4c522..8448944c00f 100644
--- a/src/xselect.c
+++ b/src/xselect.c
@@ -2094,7 +2094,7 @@ On Nextstep, TERMINAL is unused. */)
2094 struct frame *f = frame_for_x_selection (terminal); 2094 struct frame *f = frame_for_x_selection (terminal);
2095 2095
2096 CHECK_SYMBOL (selection); 2096 CHECK_SYMBOL (selection);
2097 if (EQ (selection, Qnil)) selection = QPRIMARY; 2097 if (NILP (selection)) selection = QPRIMARY;
2098 if (EQ (selection, Qt)) selection = QSECONDARY; 2098 if (EQ (selection, Qt)) selection = QSECONDARY;
2099 2099
2100 if (f && !NILP (LOCAL_SELECTION (selection, FRAME_DISPLAY_INFO (f)))) 2100 if (f && !NILP (LOCAL_SELECTION (selection, FRAME_DISPLAY_INFO (f))))
@@ -2124,7 +2124,7 @@ On Nextstep, TERMINAL is unused. */)
2124 struct x_display_info *dpyinfo; 2124 struct x_display_info *dpyinfo;
2125 2125
2126 CHECK_SYMBOL (selection); 2126 CHECK_SYMBOL (selection);
2127 if (EQ (selection, Qnil)) selection = QPRIMARY; 2127 if (NILP (selection)) selection = QPRIMARY;
2128 if (EQ (selection, Qt)) selection = QSECONDARY; 2128 if (EQ (selection, Qt)) selection = QSECONDARY;
2129 2129
2130 if (!f) 2130 if (!f)