From 49e2b2679f8fdbcddab0e1c022189966d7a7d103 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Wed, 25 Apr 2012 11:20:42 +0100 Subject: 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 --- server/red_worker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/red_worker.c') diff --git a/server/red_worker.c b/server/red_worker.c index fc749249..e271ae57 100644 --- a/server/red_worker.c +++ b/server/red_worker.c @@ -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 -- cgit