summaryrefslogtreecommitdiff
path: root/src/w32console.c
diff options
context:
space:
mode:
authorJason Rumney <jasonr@gnu.org>2007-09-04 22:30:17 +0000
committerJason Rumney <jasonr@gnu.org>2007-09-04 22:30:17 +0000
commit79af260ec49b3379d48b8e6325ff384a43585f87 (patch)
treec42556c536c09d0d2ec4a8aee5d4c14a15793dba /src/w32console.c
parentbce179b56b1f78cca04e6f585f4b2691df84a38a (diff)
downloademacs-79af260ec49b3379d48b8e6325ff384a43585f87.tar.gz
(one_and_only_w32cons): Remove.
(initialize_w32_display): Take terminal argument.
Diffstat (limited to 'src/w32console.c')
-rw-r--r--src/w32console.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/w32console.c b/src/w32console.c
index d5056217bf2..a07d6e19d8f 100644
--- a/src/w32console.c
+++ b/src/w32console.c
@@ -534,15 +534,10 @@ vga_stdcolor_name (int idx)
typedef int (*term_hook) ();
-/* TEMPORARY HACK to get w32console compiling. To support multiple consoles,
- this needs to go! */
-struct terminal one_and_only_w32cons;
-
void
-initialize_w32_display (void)
+initialize_w32_display (struct terminal *term)
{
CONSOLE_SCREEN_BUFFER_INFO info;
- struct terminal *term = &one_and_only_w32cons;
term->cursor_to_hook = w32con_move_cursor;
term->raw_cursor_to_hook = w32con_move_cursor;