Fixed typo in RAIL_ZORDER_SYNC
authorArmin Novak <armin.novak@thincast.com>
Fri, 26 Apr 2019 11:14:30 +0000 (13:14 +0200)
committerArmin Novak <armin.novak@thincast.com>
Fri, 26 Apr 2019 11:14:30 +0000 (13:14 +0200)
channels/rail/client/rail_orders.c
include/freerdp/client/rail.h
include/freerdp/rail.h

index 1f47ba2..9b3bf09 100644 (file)
@@ -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);
                        }
 
index 7abacb4..81be8ea 100644 (file)
@@ -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,
index b257d9b..81c9102 100644 (file)
@@ -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
 {