From 39d94f0db04dc62bf44a24e152550e504cb6649d Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Tue, 29 May 2007 00:14:56 +0000 Subject: [PATCH] no pointless using of the comma operator --- openbox/focus_cycle.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/openbox/focus_cycle.c b/openbox/focus_cycle.c index bfbc2723..77740767 100644 --- a/openbox/focus_cycle.c +++ b/openbox/focus_cycle.c @@ -346,9 +346,10 @@ static ObClient *focus_find_directional(ObClient *c, ObDirection dir, if (offset > distance) score += 1000000; - if (best_score == -1 || score < best_score) - best_client = cur, - best_score = score; + if (best_score == -1 || score < best_score) { + best_client = cur; + best_score = score; + } } return best_client; -- 2.39.2