diff options
| author | Juanma Barranquero | 2007-06-08 20:06:31 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2007-06-08 20:06:31 +0000 |
| commit | e78bf986eb6dbabe55981757e77af35865859319 (patch) | |
| tree | 993f03809d58659454f0a7c2d00355eef21953a5 /src | |
| parent | db12c2a7e4f5f29a6989987eb92398233343ab7d (diff) | |
| download | emacs-e78bf986eb6dbabe55981757e77af35865859319.tar.gz emacs-e78bf986eb6dbabe55981757e77af35865859319.zip | |
(x_term_init): Use empty_unibyte_string.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xterm.c b/src/xterm.c index bc4fd366796..154465b7758 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -8357,7 +8357,7 @@ wm_supports (f, atomname) | |||
| 8357 | prop_atom, 0, max_len, False, target_type, | 8357 | prop_atom, 0, max_len, False, target_type, |
| 8358 | &actual_type, &actual_format, &actual_size, | 8358 | &actual_type, &actual_format, &actual_size, |
| 8359 | &bytes_remaining, &tmp_data); | 8359 | &bytes_remaining, &tmp_data); |
| 8360 | 8360 | ||
| 8361 | if (rc != Success || actual_type != XA_WINDOW || x_had_errors_p (dpy)) | 8361 | if (rc != Success || actual_type != XA_WINDOW || x_had_errors_p (dpy)) |
| 8362 | { | 8362 | { |
| 8363 | if (tmp_data) XFree (tmp_data); | 8363 | if (tmp_data) XFree (tmp_data); |
| @@ -8412,7 +8412,7 @@ wm_supports (f, atomname) | |||
| 8412 | rc = 0; | 8412 | rc = 0; |
| 8413 | want_atom = XInternAtom (dpy, atomname, False); | 8413 | want_atom = XInternAtom (dpy, atomname, False); |
| 8414 | 8414 | ||
| 8415 | for (i = 0; rc == 0 && i < dpyinfo->nr_net_supported_atoms; ++i) | 8415 | for (i = 0; rc == 0 && i < dpyinfo->nr_net_supported_atoms; ++i) |
| 8416 | rc = dpyinfo->net_supported_atoms[i] == want_atom; | 8416 | rc = dpyinfo->net_supported_atoms[i] == want_atom; |
| 8417 | 8417 | ||
| 8418 | x_uncatch_errors (); | 8418 | x_uncatch_errors (); |
| @@ -10649,7 +10649,7 @@ x_term_init (display_name, xrm_option, resource_name) | |||
| 10649 | UNBLOCK_INPUT; | 10649 | UNBLOCK_INPUT; |
| 10650 | dpyinfo->kboard->Vsystem_key_alist | 10650 | dpyinfo->kboard->Vsystem_key_alist |
| 10651 | = call1 (Qvendor_specific_keysyms, | 10651 | = call1 (Qvendor_specific_keysyms, |
| 10652 | build_string (vendor ? vendor : "")); | 10652 | vendor ? build_string (vendor) : empty_unibyte_string); |
| 10653 | BLOCK_INPUT; | 10653 | BLOCK_INPUT; |
| 10654 | } | 10654 | } |
| 10655 | 10655 | ||