projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e215fc0
)
no pointless using of the comma operator
author
Mikael Magnusson
<mikachu@comhem.se>
Tue, 29 May 2007 00:14:56 +0000
(
00:14
+0000)
committer
Mikael Magnusson
<mikachu@comhem.se>
Tue, 29 May 2007 00:14:56 +0000
(
00:14
+0000)
openbox/focus_cycle.c
patch
|
blob
|
history
diff --git
a/openbox/focus_cycle.c
b/openbox/focus_cycle.c
index
bfbc272
..
7774076
100644
(file)
--- 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;