debian/patches: add 0001-mask-CACHED_BRUSH-when-checking-brush-style.patch. Fix regression introduced in 2.1.2.
This commit is contained in:
parent
e07d692f0f
commit
8baebc39b4
16
debian/patches/0001-mask-CACHED_BRUSH-when-checking-brush-style.patch
vendored
Normal file
16
debian/patches/0001-mask-CACHED_BRUSH-when-checking-brush-style.patch
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
From: Armin Novak <armin.novak@thincast.com>
|
||||
Date: Tue, 23 Jun 2020 09:24:35 +0200
|
||||
Subject: Fixed #6298: Mask CACHED_BRUSH when checking brush style
|
||||
|
||||
--- a/libfreerdp/core/orders.c
|
||||
+++ b/libfreerdp/core/orders.c
|
||||
@@ -139,7 +139,8 @@ static BYTE get_bmf_bpp(UINT32 bmf, BOOL* pValid)
|
||||
{
|
||||
if (pValid)
|
||||
*pValid = TRUE;
|
||||
- switch (bmf)
|
||||
+ /* Mask out highest bit */
|
||||
+ switch (bmf & (~CACHED_BRUSH))
|
||||
{
|
||||
case 1:
|
||||
return 1;
|
||||
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -1,2 +1,3 @@
|
||||
0001-mask-CACHED_BRUSH-when-checking-brush-style.patch
|
||||
1001_spelling-fixes.patch
|
||||
2001-fake-git-revision.patch
|
||||
|
||||
Loading…
Reference in New Issue
Block a user