summaryrefslogtreecommitdiff
path: root/src/w32console.c
diff options
context:
space:
mode:
authorJason Rumney <jasonr@gnu.org>2007-09-04 23:35:12 +0000
committerJason Rumney <jasonr@gnu.org>2007-09-04 23:35:12 +0000
commit4f133cf46d96c4118c576e7f5913da6c3b39954a (patch)
treeeb8df21129e8e9496c7b2602aea5bded3e85f9b4 /src/w32console.c
parente592d685c3dc4e2f9898c47a8ecdecd3a27f59b4 (diff)
downloademacs-4f133cf46d96c4118c576e7f5913da6c3b39954a.tar.gz
(initialize_w32_display): Zero unused hooks.
Diffstat (limited to 'src/w32console.c')
-rw-r--r--src/w32console.c10
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)
{
CONSOLE_SCREEN_BUFFER_INFO info;
+ term->rif = 0; /* No window based redisplay on the console. */
term->cursor_to_hook = w32con_move_cursor;
term->raw_cursor_to_hook = w32con_move_cursor;
term->clear_to_end_hook = w32con_clear_to_end;
@@ -558,6 +559,15 @@ initialize_w32_display (struct terminal *term)
term->read_socket_hook = w32_console_read_socket;
term->mouse_position_hook = w32_console_mouse_position;
+ /* The following are not used on the console. */
+ term->frame_rehighlight_hook = 0;
+ term->frame_raise_lower_hook = 0;
+ term->set_vertical_scroll_bar_hook = 0;
+ term->condemn_scroll_bars_hook = 0;
+ term->redeem_scroll_bar_hook = 0;
+ term->judge_scroll_bars_hook = 0;
+ term->frame_up_to_date_hook = 0;
+
/* Initialize interrupt_handle. */
init_crit ();