mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 15:58:17 +00:00
pos: define MAXCOL to INT_MAX
Partial port of patch v8.1.0953. Remove useless casts on MAXCOL.
This commit is contained in:
@@ -6774,6 +6774,6 @@ static void set_search_match(pos_T *t)
|
||||
t->col = search_match_endcol;
|
||||
if (t->lnum > curbuf->b_ml.ml_line_count) {
|
||||
t->lnum = curbuf->b_ml.ml_line_count;
|
||||
coladvance((colnr_T)MAXCOL);
|
||||
coladvance(MAXCOL);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user