changeset 81276:343ad02b4c24

(x_term_init): Use empty_unibyte_string.
author Juanma Barranquero <lekktu@gmail.com>
date Fri, 08 Jun 2007 20:06:31 +0000
parents 635cfa62c941
children b65a4afd46bd
files src/xterm.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Fri Jun 08 20:05:03 2007 +0000
+++ b/src/xterm.c	Fri Jun 08 20:06:31 2007 +0000
@@ -8357,7 +8357,7 @@
                            prop_atom, 0, max_len, False, target_type,
                            &actual_type, &actual_format, &actual_size,
                            &bytes_remaining, &tmp_data);
-  
+
   if (rc != Success || actual_type != XA_WINDOW || x_had_errors_p (dpy))
     {
       if (tmp_data) XFree (tmp_data);
@@ -8412,7 +8412,7 @@
   rc = 0;
   want_atom = XInternAtom (dpy, atomname, False);
 
-  for (i = 0; rc == 0 && i < dpyinfo->nr_net_supported_atoms; ++i) 
+  for (i = 0; rc == 0 && i < dpyinfo->nr_net_supported_atoms; ++i)
     rc = dpyinfo->net_supported_atoms[i] == want_atom;
 
   x_uncatch_errors ();
@@ -10649,7 +10649,7 @@
 	    UNBLOCK_INPUT;
 	    dpyinfo->kboard->Vsystem_key_alist
 	      = call1 (Qvendor_specific_keysyms,
-		       build_string (vendor ? vendor : ""));
+		       vendor ? build_string (vendor) : empty_unibyte_string);
 	    BLOCK_INPUT;
 	  }