Fixed default return for DrawOrderInfo
authorakallabeth <akallabeth@posteo.net>
Thu, 28 Jan 2021 13:08:35 +0000 (14:08 +0100)
committerakallabeth <akallabeth@users.noreply.github.com>
Thu, 25 Feb 2021 08:51:41 +0000 (09:51 +0100)
(cherry picked from commit 4587ef976c07a06f9fe751e2857bddea2a6e9a69)

libfreerdp/core/orders.c

index 216191d..0e14bbe 100644 (file)
@@ -3686,7 +3686,7 @@ static BOOL update_recv_secondary_order(rdpUpdate* update, wStream* s, BYTE flag
        start = Stream_GetPosition(s);
        name = secondary_order_string(orderType);
        WLog_Print(update->log, WLOG_DEBUG, "Secondary Drawing Order %s", name);
-       rc = IFCALLRESULT(FALSE, secondary->CacheOrderInfo, context, orderLength, extraFlags, orderType,
+       rc = IFCALLRESULT(TRUE, secondary->CacheOrderInfo, context, orderLength, extraFlags, orderType,
                          name);
        if (!rc)
                return FALSE;