no pointless using of the comma operator
Mikael Magnusson mikachu@comhem.se
1 files changed,
4 insertions(+),
3 deletions(-)
jump to
M
openbox/focus_cycle.c
→
openbox/focus_cycle.c
@@ -346,9 +346,10 @@ * else within a million pixels */
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;