~martanne/devel

vis: fix: clean -Wparentheses warning in main.c v1 REJECTED

Matěj Cepl: 1
 fix: clean -Wparentheses warning in main.c

 1 files changed, 2 insertions(+), 2 deletions(-)
#1369387 alpine.yml success
#1369388 debian.yml success
#1369389 freebsd.yml success
#1369390 openbsd.yml success
Matěj Cepl <mcepl@cepl.eu> wrote:
Next
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~martanne/devel/patches/55961/mbox | git am -3
Learn more about email & git

[PATCH vis] fix: clean -Wparentheses warning in main.c Export this patch

---
 main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main.c b/main.c
index 3e9d9ab8..c4290a7b 100644
--- a/main.c
+++ b/main.c
@@ -1402,7 +1402,7 @@ static const char *selections_match_next(Vis *vis, const char *keys, const Arg *
		sel = find_next(txt, sel.end, buf);
		if (!text_range_valid(&sel))
			break;
		if (selection_new(view, &sel, !match_all) && !match_all)
		if ((selection_new(view, &sel, !match_all) && !match_all))
			goto out;
	}

@@ -1412,7 +1412,7 @@ static const char *selections_match_next(Vis *vis, const char *keys, const Arg *
		sel = find_prev(txt, sel.start, buf);
		if (!text_range_valid(&sel))
			break;
		if (selection_new(view, &sel, !match_all) && !match_all)
		if ((selection_new(view, &sel, !match_all) && !match_all))
			break;
	}

-- 
2.47.0
vis/patches: SUCCESS in 1m19s

[fix: clean -Wparentheses warning in main.c][0] from [Matěj Cepl][1]

[0]: https://lists.sr.ht/~martanne/devel/patches/55961
[1]: mailto:mcepl@cepl.eu

✓ #1369387 SUCCESS vis/patches/alpine.yml  https://builds.sr.ht/~martanne/job/1369387
✓ #1369388 SUCCESS vis/patches/debian.yml  https://builds.sr.ht/~martanne/job/1369388
✓ #1369389 SUCCESS vis/patches/freebsd.yml https://builds.sr.ht/~martanne/job/1369389
✓ #1369390 SUCCESS vis/patches/openbsd.yml https://builds.sr.ht/~martanne/job/1369390
Matěj Cepl <mcepl@cepl.eu> wrote: