mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-09 22:36:29 +00:00
Fix typo in is_equal_brush
The 3 part of the conditional in the is_equal_brush method compared the b1->u.color field to itself, instead of b2->u.color Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
6d7d9bc12d
commit
49e2b2679f
@ -2346,7 +2346,7 @@ static int is_equal_brush(SpiceBrush *b1, SpiceBrush *b2)
|
||||
{
|
||||
return b1->type == b2->type &&
|
||||
b1->type == SPICE_BRUSH_TYPE_SOLID &&
|
||||
b1->u.color == b1->u.color;
|
||||
b1->u.color == b2->u.color;
|
||||
}
|
||||
|
||||
// partial imp
|
||||
|
||||
Loading…
Reference in New Issue
Block a user