diff options
| author | Jason Rumney | 2007-09-04 22:30:17 +0000 |
|---|---|---|
| committer | Jason Rumney | 2007-09-04 22:30:17 +0000 |
| commit | 79af260ec49b3379d48b8e6325ff384a43585f87 (patch) | |
| tree | c42556c536c09d0d2ec4a8aee5d4c14a15793dba | |
| parent | bce179b56b1f78cca04e6f585f4b2691df84a38a (diff) | |
| download | emacs-79af260ec49b3379d48b8e6325ff384a43585f87.tar.gz emacs-79af260ec49b3379d48b8e6325ff384a43585f87.zip | |
(one_and_only_w32cons): Remove.
(initialize_w32_display): Take terminal argument.
| -rw-r--r-- | src/w32console.c | 7 |
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) | |||
| 534 | 534 | ||
| 535 | typedef int (*term_hook) (); | 535 | typedef int (*term_hook) (); |
| 536 | 536 | ||
| 537 | /* TEMPORARY HACK to get w32console compiling. To support multiple consoles, | ||
| 538 | this needs to go! */ | ||
| 539 | struct terminal one_and_only_w32cons; | ||
| 540 | |||
| 541 | void | 537 | void |
| 542 | initialize_w32_display (void) | 538 | initialize_w32_display (struct terminal *term) |
| 543 | { | 539 | { |
| 544 | CONSOLE_SCREEN_BUFFER_INFO info; | 540 | CONSOLE_SCREEN_BUFFER_INFO info; |
| 545 | struct terminal *term = &one_and_only_w32cons; | ||
| 546 | 541 | ||
| 547 | term->cursor_to_hook = w32con_move_cursor; | 542 | term->cursor_to_hook = w32con_move_cursor; |
| 548 | term->raw_cursor_to_hook = w32con_move_cursor; | 543 | term->raw_cursor_to_hook = w32con_move_cursor; |