search: add comment to ‘advance_pos()’ macro

This commit is contained in:
Daniel Eklöf 2022-04-18 15:12:56 +02:00
parent b3d18e3c8d
commit e3683b58fc
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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 weve reached the scrollback wrap-around */
#define advance_pos(coord) __extension__ \
({ \
bool wrapped_around = false; \