From a76b0df59842590dbf365b571bfb462157249ee9 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Wed, 3 Aug 2016 09:55:19 +0200 Subject: [PATCH] Fixed reading of colors from order. --- libfreerdp/core/orders.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libfreerdp/core/orders.c b/libfreerdp/core/orders.c index 9c086d68d..45d3e5cef 100644 --- a/libfreerdp/core/orders.c +++ b/libfreerdp/core/orders.c @@ -806,8 +806,6 @@ static INLINE BOOL ORDER_FIELD_COLOR(const ORDER_INFO* orderInfo, wStream* s, if (!TARGET || !orderInfo) return FALSE; - *TARGET = 0; - if ((orderInfo->fieldFlags & (1 << (NO - 1))) && !update_read_color(s, TARGET)) return FALSE;