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
commit0835c7307e0d9ebb60bd98c513f82e94dae66a2e (patch)
tree009608a5f6f772b3603c0d14296e8877afaabf43 /src/terminal.c
parent5d333979c35d90c5ac89aba75f04f083cbd6f7c8 (diff)
downloademacs-0835c7307e0d9ebb60bd98c513f82e94dae66a2e.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. */