Commit e78bf986 authored by Juanma Barranquero's avatar Juanma Barranquero

(x_term_init): Use empty_unibyte_string.

parent db12c2a7
......@@ -8357,7 +8357,7 @@ wm_supports (f, atomname)
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 @@ wm_supports (f, atomname)
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 @@ x_term_init (display_name, xrm_option, resource_name)
UNBLOCK_INPUT;
dpyinfo->kboard->Vsystem_key_alist
= call1 (Qvendor_specific_keysyms,
build_string (vendor ? vendor : ""));
vendor ? build_string (vendor) : empty_unibyte_string);
BLOCK_INPUT;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment