]> Dogcows Code - chaz/openbox/blobdiff - openbox/focus_cycle.c
no pointless using of the comma operator
[chaz/openbox] / openbox / focus_cycle.c
index bfbc272315e180ed00edf8f3769b771ef6ea22da..7774076785e43050fcbd61c0172117b7afae9f76 100644 (file)
@@ -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;
This page took 0.022386 seconds and 4 git commands to generate.