HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* xselect.c (Fx_get_atom_name): Avoid need for strlen.
[bpt/emacs.git]
/
src
/
xselect.c
diff --git
a/src/xselect.c
b/src/xselect.c
index
5b01fc2
..
7f4e0b4
100644
(file)
--- 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. */)
x_uncatch_errors ();
if (!had_errors)
- ret =
make_string (name, strlen (name)
);
+ ret =
build_string (name
);
if (atom && name) XFree (name);
if (NILP (ret)) ret = empty_unibyte_string;