aboutsummaryrefslogtreecommitdiffstats
path: root/src/xselect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xselect.c')
-rw-r--r--src/xselect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xselect.c b/src/xselect.c
index 5b01fc22a42..7f4e0b40f62 100644
--- a/src/xselect.c
+++ b/src/xselect.c
@@ -2361,7 +2361,7 @@ If the value is 0 or the atom is not known, return the empty string. */)
2361 x_uncatch_errors (); 2361 x_uncatch_errors ();
2362 2362
2363 if (!had_errors) 2363 if (!had_errors)
2364 ret = make_string (name, strlen (name)); 2364 ret = build_string (name);
2365 2365
2366 if (atom && name) XFree (name); 2366 if (atom && name) XFree (name);
2367 if (NILP (ret)) ret = empty_unibyte_string; 2367 if (NILP (ret)) ret = empty_unibyte_string;