From c87a7be2ed35b95b254509dc3b107700b82b1ec3 Mon Sep 17 00:00:00 2001 From: Moussab Date: Mon, 10 Nov 2014 23:51:11 +0100 Subject: [PATCH 1/1] Update centerfair.lua --- layout/centerfair.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/centerfair.lua b/layout/centerfair.lua index d3225b4..383bf9e 100644 --- a/layout/centerfair.lua +++ b/layout/centerfair.lua @@ -104,7 +104,7 @@ function centerfair.arrange(p) do local remaining_clients = #cls-1 local ncol_min = math.ceil(remaining_clients/(num_x-1)) - if ncol >= ncol_min + if ncol >= ncol_min then for i = (num_x-1), 1, -1 do if (remaining_clients-i+1) < ncol -- 2.39.5