summaryrefslogtreecommitdiffstats
path: root/libxrdp/xrdp_rdp.c
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2005-08-18 00:23:28 +0000
committerjsorg71 <jsorg71>2005-08-18 00:23:28 +0000
commita4ce4c46c6479746ece90e78ffc7ffbfd60ff349 (patch)
treecf568fa859d580eabea4ecc7bbe348b6e1bcd169 /libxrdp/xrdp_rdp.c
parent0b29907801ca1ef7d3b02522adb0d668d134853f (diff)
downloadxrdp-proprietary-a4ce4c46c6479746ece90e78ffc7ffbfd60ff349.tar.gz
xrdp-proprietary-a4ce4c46c6479746ece90e78ffc7ffbfd60ff349.zip
clip changes, 16bpp crash fix
Diffstat (limited to 'libxrdp/xrdp_rdp.c')
-rw-r--r--libxrdp/xrdp_rdp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libxrdp/xrdp_rdp.c b/libxrdp/xrdp_rdp.c
index 155e109c..a9256cbf 100644
--- a/libxrdp/xrdp_rdp.c
+++ b/libxrdp/xrdp_rdp.c
@@ -451,7 +451,11 @@ xrdp_process_capset_general(struct xrdp_rdp* self, struct stream* s,
in_uint8s(s, 10);
in_uint16_le(s, i);
+ /* use_compact_packets is pretty much 'use rdp5' */
self->client_info.use_compact_packets = (i != 0);
+ /* op2 is a boolean to use compact bitmap headers in bitmap cache */
+ /* set it to same as 'use rdp5' boolean */
+ self->client_info.op2 = self->client_info.use_compact_packets;
return 0;
}