# HG changeset patch # User Jason Rumney # Date 1188945017 0 # Node ID c81c5bd99c21f35fd10ec4bf4158ff3e1e6382d2 # Parent e83e76dafddb5fd239894f71ed50206fec0d901b (one_and_only_w32cons): Remove. (initialize_w32_display): Take terminal argument. diff -r e83e76dafddb -r c81c5bd99c21 src/w32console.c --- a/src/w32console.c Tue Sep 04 21:43:50 2007 +0000 +++ b/src/w32console.c Tue Sep 04 22:30:17 2007 +0000 @@ -534,15 +534,10 @@ 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;