]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fx_get_atom_name): Use empty_unibyte_string.
authorJuanma Barranquero <lekktu@gmail.com>
Fri, 8 Jun 2007 20:07:10 +0000 (20:07 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Fri, 8 Jun 2007 20:07:10 +0000 (20:07 +0000)
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;