From e3683b58fc291f363c52e698db003683824fd550 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Mon, 18 Apr 2022 15:12:56 +0200 Subject: [PATCH] =?UTF-8?q?search:=20add=20comment=20to=20=E2=80=98advance?= =?UTF-8?q?=5Fpos()=E2=80=99=20macro?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- search.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/search.c b/search.c index 9e59c618..2e31d6d4 100644 --- a/search.c +++ b/search.c @@ -609,6 +609,8 @@ search_match_to_end_of_word(struct terminal *term, bool spaces_only) struct coord new_end = old_end; struct row *row = NULL; + /* Advances a coordinate by one column, to the right. Returns + * false if we’ve reached the scrollback wrap-around */ #define advance_pos(coord) __extension__ \ ({ \ bool wrapped_around = false; \