From: Mikael Magnusson Date: Tue, 29 May 2007 00:14:56 +0000 (+0000) Subject: no pointless using of the comma operator X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=39d94f0db04dc62bf44a24e152550e504cb6649d;p=chaz%2Fopenbox no pointless using of the comma operator --- 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;