mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
Fixed #6298: Mask CACHED_BRUSH when checking brush style
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user