diff options
| author | Jason Rumney | 2007-09-04 23:35:12 +0000 |
|---|---|---|
| committer | Jason Rumney | 2007-09-04 23:35:12 +0000 |
| commit | 9b8f0fc3f15a8ae673f4085add31d7f7c8a7eb52 (patch) | |
| tree | 50cee0220e287eb8f847ca3baa6bac9677584dd5 | |
| parent | e4019195fdc2c3c121057ab29f7f1045b656db81 (diff) | |
| download | emacs-9b8f0fc3f15a8ae673f4085add31d7f7c8a7eb52.tar.gz emacs-9b8f0fc3f15a8ae673f4085add31d7f7c8a7eb52.zip | |
(initialize_w32_display): Zero unused hooks.
| -rw-r--r-- | src/w32console.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/w32console.c b/src/w32console.c index a07d6e19d8f..ca160a73c4f 100644 --- a/src/w32console.c +++ b/src/w32console.c | |||
| @@ -539,6 +539,7 @@ initialize_w32_display (struct terminal *term) | |||
| 539 | { | 539 | { |
| 540 | CONSOLE_SCREEN_BUFFER_INFO info; | 540 | CONSOLE_SCREEN_BUFFER_INFO info; |
| 541 | 541 | ||
| 542 | term->rif = 0; /* No window based redisplay on the console. */ | ||
| 542 | term->cursor_to_hook = w32con_move_cursor; | 543 | term->cursor_to_hook = w32con_move_cursor; |
| 543 | term->raw_cursor_to_hook = w32con_move_cursor; | 544 | term->raw_cursor_to_hook = w32con_move_cursor; |
| 544 | term->clear_to_end_hook = w32con_clear_to_end; | 545 | term->clear_to_end_hook = w32con_clear_to_end; |
| @@ -558,6 +559,15 @@ initialize_w32_display (struct terminal *term) | |||
| 558 | term->read_socket_hook = w32_console_read_socket; | 559 | term->read_socket_hook = w32_console_read_socket; |
| 559 | term->mouse_position_hook = w32_console_mouse_position; | 560 | term->mouse_position_hook = w32_console_mouse_position; |
| 560 | 561 | ||
| 562 | /* The following are not used on the console. */ | ||
| 563 | term->frame_rehighlight_hook = 0; | ||
| 564 | term->frame_raise_lower_hook = 0; | ||
| 565 | term->set_vertical_scroll_bar_hook = 0; | ||
| 566 | term->condemn_scroll_bars_hook = 0; | ||
| 567 | term->redeem_scroll_bar_hook = 0; | ||
| 568 | term->judge_scroll_bars_hook = 0; | ||
| 569 | term->frame_up_to_date_hook = 0; | ||
| 570 | |||
| 561 | /* Initialize interrupt_handle. */ | 571 | /* Initialize interrupt_handle. */ |
| 562 | init_crit (); | 572 | init_crit (); |
| 563 | 573 | ||