From 4f88bf83c10900d9fdfd79407535bd6991f8a596 Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Thu, 18 Nov 2010 21:05:32 -0800 Subject: fixes for bell function --- vnc/vnc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vnc') diff --git a/vnc/vnc.h b/vnc/vnc.h index f5b2f984..b9886be4 100644 --- a/vnc/vnc.h +++ b/vnc/vnc.h @@ -27,7 +27,7 @@ #include "d3des.h" #include "defines.h" -#define CURRENT_MOD_VER 1 +#define CURRENT_MOD_VER 2 struct vnc { @@ -50,7 +50,6 @@ struct vnc /* server functions */ int (*server_begin_update)(struct vnc* v); int (*server_end_update)(struct vnc* v); - int (*server_bell_trigger)(struct vnc* v); int (*server_fill_rect)(struct vnc* v, int x, int y, int cx, int cy); int (*server_screen_blt)(struct vnc* v, int x, int y, int cx, int cy, int srcx, int srcy); @@ -88,7 +87,8 @@ struct vnc int (*server_send_to_channel)(struct vnc* v, int channel_id, char* data, int data_len, int total_data_len, int flags); - long server_dumby[100 - 24]; /* align, 100 minus the number of server + int (*server_bell_trigger)(struct vnc* v); + long server_dumby[100 - 25]; /* align, 100 minus the number of server functions above */ /* common */ long handle; /* pointer to self as long */ -- cgit v1.2.1