orders: Fix ORDER_TYPE_GDIPLUS_END check
Commit introduced security checks for orders, but
ORDER_TYPE_GDIPLUS_END check fails in case of success and vice versa.
Let's add the missing question mark.
@@ -3451,7 +3451,7 @@ static BOOL update_recv_altsec_order(rdpUpdate* update, wStream* s,
break;
case ORDER_TYPE_GDIPLUS_END:
- if (update_read_draw_gdiplus_end_order(s, &(altsec->draw_gdiplus_end)))
+ if (!update_read_draw_gdiplus_end_order(s, &(altsec->draw_gdiplus_end)))
{
WLog_ERR(TAG,
"ORDER_TYPE_GDIPLUS_END - update_read_draw_gdiplus_end_order() failed");
