summaryrefslogtreecommitdiff
path: root/src/terminal.c
diff options
context:
space:
mode:
authorJason Rumney <jasonr@gnu.org>2007-05-15 23:08:04 +0000
committerJason Rumney <jasonr@gnu.org>2007-05-15 23:08:04 +0000
commitf3e61e799bd0e08479786d0be7712e477c2ba60b (patch)
tree77dda5c917bdecf1e5943072632c266504f240e5 /src/terminal.c
parentdffb33c5b526f919dec569d46a81d70a3ff7432a (diff)
downloademacs-f3e61e799bd0e08479786d0be7712e477c2ba60b.tar.gz
(init_initial_terminal): Only set initial_kboard when MULTI_KBOARD defined.
Diffstat (limited to 'src/terminal.c')
-rw-r--r--src/terminal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/terminal.c b/src/terminal.c
index f3f0a178c8d..a02e65cd65a 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -581,8 +581,9 @@ init_initial_terminal (void)
initial_terminal = create_terminal ();
initial_terminal->type = output_initial;
initial_terminal->name = xstrdup ("initial_terminal");
+#ifdef MULTI_KBOARD
initial_terminal->kboard = initial_kboard;
-
+#endif
initial_terminal->delete_terminal_hook = &delete_initial_terminal;
/* All other hooks are NULL. */