Mercurial > vim
diff src/ex_cmds.c @ 1668:0b796e045c42 v7.2b.000
updated for version 7.2b-000
author | vimboss |
---|---|
date | Sun, 13 Jul 2008 17:41:49 +0000 |
parents | 18ee39301b82 |
children | 75dbeedddaa9 |
line wrap: on
line diff
--- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -11,7 +11,7 @@ * ex_cmds.c: some functions for command line commands */ -#if defined(MSDOS) || defined(MSWIN) +#if defined(MSDOS) || defined(WIN16) || defined(WIN32) || defined(_WIN64) # include "vimio.h" /* for mch_open(), must be before vim.h */ #endif @@ -5892,7 +5892,7 @@ find_help_tags(arg, num_matches, matches flags = TAG_HELP | TAG_REGEXP | TAG_NAMES | TAG_VERBOSE; 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, TAG_MANY, NULL) == OK && *num_matches > 0) /* Sort the matches found on the heuristic number that is after the * tag name. */