aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-02-24 09:26:17 -0500
committerGitHub <noreply@github.com>2021-02-24 09:26:17 -0500
commitd290da70b76a2dcd99591ec1a175a4ae29f64bfd (patch)
treeff1820ca53dfe5484414a643339f8d136d7f0ceb /src/nvim/ex_cmds.c
parent6b7cc45c4845624aa08232a860941b5a55b9640b (diff)
parentab5083b5fc9fc8c62dae6aefc4fb2615a61c6fff (diff)
downloadrneovim-d290da70b76a2dcd99591ec1a175a4ae29f64bfd.tar.gz
rneovim-d290da70b76a2dcd99591ec1a175a4ae29f64bfd.tar.bz2
rneovim-d290da70b76a2dcd99591ec1a175a4ae29f64bfd.zip
Merge pull request #14001 from janlazo/vim-8.2.2545
vim-patch:8.2.{2545,2547,2548}
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r--src/nvim/ex_cmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index b220b034dd..103c081143 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -4198,7 +4198,7 @@ skip:
// when interactive leave cursor on the match
if (!subflags.do_ask) {
if (endcolumn) {
- coladvance((colnr_T)MAXCOL);
+ coladvance(MAXCOL);
} else {
beginline(BL_WHITE | BL_FIX);
}
@@ -5020,7 +5020,7 @@ int find_help_tags(const char_u *arg, int *num_matches, char_u ***matches,
if (keep_lang) {
flags |= TAG_KEEP_LANG;
}
- if (find_tags(IObuff, num_matches, matches, flags, (int)MAXCOL, NULL) == OK
+ if (find_tags(IObuff, num_matches, matches, flags, MAXCOL, NULL) == OK
&& *num_matches > 0) {
/* Sort the matches found on the heuristic number that is after the
* tag name. */