From 31fb2ddc1aaaada5db42f616a378109de6df1502 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Tue, 1 Jun 2021 16:15:41 +0200 Subject: [PATCH] Fixed RDPEI orientation value passing (#7069) --- channels/rdpei/client/rdpei_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/rdpei/client/rdpei_main.c b/channels/rdpei/client/rdpei_main.c index 9621900a7..d36d7a15e 100644 --- a/channels/rdpei/client/rdpei_main.c +++ b/channels/rdpei/client/rdpei_main.c @@ -1146,7 +1146,7 @@ static UINT rdpei_touch_process(RdpeiClientContext* context, INT32 externalId, U contactIdlocal, p); p = 359; } - contact.orientation = va_arg(ap, UINT32); + contact.orientation = p; } if (fieldFlags & CONTACT_DATA_PRESSURE_PRESENT) {