summaryrefslogtreecommitdiffstats
path: root/vnc
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2009-08-12 07:14:20 +0000
committerjsorg71 <jsorg71>2009-08-12 07:14:20 +0000
commit47f6623d8e7f56e9bde8a32f283de2f5ec68df5b (patch)
tree90ca98977dc5dc7f881ad7c6acae6f3985822270 /vnc
parent1875c807949749fa3529e54006261788b0727245 (diff)
downloadxrdp-proprietary-47f6623d8e7f56e9bde8a32f283de2f5ec68df5b.tar.gz
xrdp-proprietary-47f6623d8e7f56e9bde8a32f283de2f5ec68df5b.zip
change the order of params for keydown/up to be more backward compatible
Diffstat (limited to 'vnc')
-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);