From 5e42c8943d9050ac70b52e1f227ff036932292af Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Fri, 26 Apr 2019 13:14:30 +0200 Subject: [PATCH] Fixed typo in RAIL_ZORDER_SYNC --- channels/rail/client/rail_orders.c | 6 +++--- include/freerdp/client/rail.h | 2 +- include/freerdp/rail.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/channels/rail/client/rail_orders.c b/channels/rail/client/rail_orders.c index 1f47ba277..9b3bf0906 100644 --- a/channels/rail/client/rail_orders.c +++ b/channels/rail/client/rail_orders.c @@ -754,7 +754,7 @@ static UINT rail_recv_langbar_info_order(railPlugin* rail, RAIL_LANGBAR_INFO_ORD return error; } -static UINT rail_read_zorder_sync_order(wStream* s, RAIL_ZORDER_ZYNC* zorder) +static UINT rail_read_zorder_sync_order(wStream* s, RAIL_ZORDER_SYNC* zorder) { if (!s || !zorder) return ERROR_INVALID_PARAMETER; @@ -769,7 +769,7 @@ static UINT rail_read_zorder_sync_order(wStream* s, RAIL_ZORDER_ZYNC* zorder) return CHANNEL_RC_OK; } -static UINT rail_recv_zorder_sync_order(railPlugin* rail, RAIL_ZORDER_ZYNC* zorder, +static UINT rail_recv_zorder_sync_order(railPlugin* rail, RAIL_ZORDER_SYNC* zorder, wStream* s) { RailClientContext* context = rail_get_client_interface(rail); @@ -980,7 +980,7 @@ UINT rail_order_recv(railPlugin* rail, wStream* s) case RDP_RAIL_ORDER_ZORDER_SYNC: { - RAIL_ZORDER_ZYNC val; + RAIL_ZORDER_SYNC val; return rail_recv_zorder_sync_order(rail, &val, s); } diff --git a/include/freerdp/client/rail.h b/include/freerdp/client/rail.h index 7abacb493..81be8eabb 100644 --- a/include/freerdp/client/rail.h +++ b/include/freerdp/client/rail.h @@ -73,7 +73,7 @@ typedef UINT(*pcRailClientGetAppIdRequest)(RailClientContext* context, typedef UINT(*pcRailServerGetAppIdResponse)(RailClientContext* context, const RAIL_GET_APPID_RESP_ORDER* getAppIdResp); typedef UINT(*pcRailServerZOrderSync)(RailClientContext* context, - const RAIL_ZORDER_ZYNC* zorder); + const RAIL_ZORDER_SYNC* zorder); typedef UINT(*pcRailClientCloak)(RailClientContext* context, const RAIL_CLOAK* cloak); typedef UINT(*pcRailServerPowerDisplayRequest)(RailClientContext* context, diff --git a/include/freerdp/rail.h b/include/freerdp/rail.h index b257d9b13..81c91027f 100644 --- a/include/freerdp/rail.h +++ b/include/freerdp/rail.h @@ -354,11 +354,11 @@ struct _RAIL_COMPARTMENT_INFO_ORDER }; typedef struct _RAIL_COMPARTMENT_INFO_ORDER RAIL_COMPARTMENT_INFO_ORDER; -struct _RAIL_ZORDER_ZYNC +struct _RAIL_ZORDER_SYNC { UINT32 windowIdMarker; }; -typedef struct _RAIL_ZORDER_ZYNC RAIL_ZORDER_ZYNC; +typedef struct _RAIL_ZORDER_SYNC RAIL_ZORDER_SYNC; struct _RAIL_CLOAK {