diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-08-29 12:50:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-29 12:50:22 +0200 |
commit | 5fe6bde296569e275a0b83d497a54611f73c410a (patch) | |
tree | 51931728be1890c53597595aeec0826b12b74202 /src/nvim/help.c | |
parent | f05cc672e3b617b4480d8e2d7efc7e00863efc3d (diff) | |
parent | 691f4715c0cf4bc11ea2280db8777e6dd174a8ac (diff) | |
download | rneovim-5fe6bde296569e275a0b83d497a54611f73c410a.tar.gz rneovim-5fe6bde296569e275a0b83d497a54611f73c410a.tar.bz2 rneovim-5fe6bde296569e275a0b83d497a54611f73c410a.zip |
Merge pull request #19961 from dundargoc/refactor/char_u/2
refactor: replace char_u with char 2: electric chaaralo
Diffstat (limited to 'src/nvim/help.c')
-rw-r--r-- | src/nvim/help.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/help.c b/src/nvim/help.c index 19bf67c890..4b2b113437 100644 --- a/src/nvim/help.c +++ b/src/nvim/help.c @@ -537,7 +537,7 @@ int find_help_tags(const char *arg, int *num_matches, char ***matches, bool keep if (keep_lang) { flags |= TAG_KEEP_LANG; } - if (find_tags(IObuff, num_matches, matches, flags, MAXCOL, NULL) == OK + if (find_tags((char *)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. |