aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index c686824a003..5b76ba84059 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -10204,7 +10204,8 @@ x_term_init (display_name, xrm_option, resource_name)
10204 /* GTK 2.0 can only handle one display, GTK 2.2 can handle more 10204 /* GTK 2.0 can only handle one display, GTK 2.2 can handle more
10205 than one, but this remains to be implemented. */ 10205 than one, but this remains to be implemented. */
10206 if (x_initialized > 1) 10206 if (x_initialized > 1)
10207 return 0; 10207 error("Sorry, the GTK port can only handle one display.");
10208 ++x_initialized;
10208 10209
10209 for (argc = 0; argc < NUM_ARGV; ++argc) 10210 for (argc = 0; argc < NUM_ARGV; ++argc)
10210 argv[argc] = 0; 10211 argv[argc] = 0;