summaryrefslogtreecommitdiffstats
path: root/vnc/vnc.c
diff options
context:
space:
mode:
Diffstat (limited to 'vnc/vnc.c')
-rw-r--r--vnc/vnc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnc/vnc.c b/vnc/vnc.c
index ad57400f..3e67b9fd 100644
--- a/vnc/vnc.c
+++ b/vnc/vnc.c
@@ -241,7 +241,7 @@ lib_mod_event(struct vnc* v, int msg, long param1, long param2,
}
else if ((msg >= 15) && (msg <= 16)) /* key events */
{
- key = param3;
+ key = param2;
if (key > 0)
{
init_stream(s, 8192);