[PATCH rivercarro] Fix incorrect main width without smart gaps
Export this patch
---
src/main.zig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main.zig b/src/main.zig
index 7b22d33..a361724 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -315,7 +315,7 @@ const Output = struct {
if (i < main_count) {
x = 0;
y = (i * main_h) + if (i > 0) cfg.inner_gaps + main_h_rem else 0;
- width = main_w - cfg.inner_gaps / 2;
+ width = if (sec_count > 0) main_w - cfg.inner_gaps / 2 else main_w;
height = (main_h + if (i == 0) main_h_rem else 0) -
if (i > 0) cfg.inner_gaps else 0;
} else {
--
2.42.0
rivercarro/patches/.build.yml: FAILED in 1m35s
[Fix incorrect main width without smart gaps][0] from [Alex Qiu][1]
[0]: https://lists.sr.ht/~novakane/public-inbox/patches/45016
[1]: mailto:alexqiu2007@outlook.com
✗ #1062791 FAILED rivercarro/patches/.build.yml https://builds.sr.ht/~novakane/job/1062791