]> code.delx.au - gnu-emacs/blobdiff - src/xselect.c
(Fx_get_atom_name): Use empty_unibyte_string.
[gnu-emacs] / src / xselect.c
index 3fe109a5b85f7f14635ce552768fb81cf380eb5a..17dc7c0e7d3b5e31c7e93ae19140a9a8bcf4b5e9 100644 (file)
@@ -2678,7 +2678,7 @@ If the value is 0 or the atom is not known, return the empty string.  */)
     ret = make_string (name, strlen (name));
 
   if (atom && name) XFree (name);
-  if (NILP (ret)) ret = make_string ("", 0);
+  if (NILP (ret)) ret = empty_unibyte_string;
 
   UNBLOCK_INPUT;