aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorKarl Heuer <[email protected]>1995-03-31 03:40:24 +0000
committerKarl Heuer <[email protected]>1995-03-31 03:40:24 +0000
commit547d9db87445c129adfd054f811b41fd00337fc6 (patch)
tree4f411f9017e39e710073c483b9f1216678bf74e0 /src/xterm.c
parent04649dbcaf356a489d09031867f32476f2f3cced (diff)
(x_term_init): Initialize cut_buffers_initialized.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 0dc35d500e..5b8e9e363d 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -5668,7 +5668,7 @@ x_term_init (display_name, xrm_option, resource_name)
#else
dpyinfo->display->db = xrdb;
#endif
- /* Put thr rdb where we can find it in a way that works on
+ /* Put the rdb where we can find it in a way that works on
all versions. */
dpyinfo->xrdb = xrdb;
@@ -5734,6 +5734,8 @@ x_term_init (display_name, xrm_option, resource_name)
dpyinfo->Xatom_ATOM_PAIR
= XInternAtom (dpyinfo->display, "ATOM_PAIR", False);
+ dpyinfo->cut_buffers_initialized = 0;
+
connection = ConnectionNumber (dpyinfo->display);
dpyinfo->connection = connection;