no pointless using of the comma operator
This commit is contained in:
parent
e215fc0110
commit
39d94f0db0
1 changed files with 4 additions and 3 deletions
|
@ -346,10 +346,11 @@ static ObClient *focus_find_directional(ObClient *c, ObDirection dir,
|
|||
if (offset > distance)
|
||||
score += 1000000;
|
||||
|
||||
if (best_score == -1 || score < best_score)
|
||||
best_client = cur,
|
||||
if (best_score == -1 || score < best_score) {
|
||||
best_client = cur;
|
||||
best_score = score;
|
||||
}
|
||||
}
|
||||
|
||||
return best_client;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue