diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-04-15 20:25:09 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-04-15 20:25:09 +0000 |
commit | c6249bb24629c49cfc315ac540a21edf18a61eaf (patch) | |
tree | 815229a041a28df27396d1bbe8bfb418a2154928 /src | |
parent | 01a347a1bb78774a62dd8c251c75a7541b58cdb7 (diff) | |
download | vim-git-c6249bb24629c49cfc315ac540a21edf18a61eaf.tar.gz |
updated for version 7.0d05
Diffstat (limited to 'src')
-rw-r--r-- | src/ex_getln.c | 4 | ||||
-rw-r--r-- | src/version.h | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c index 11069f25e..044429e17 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -3997,13 +3997,15 @@ addstar(fname, len, context) vim_strncpy(retval, fname, len); /* - * Don't add a star to ~, ~user, $var or `cmd`. + * Don't add a star to *, ~, ~user, $var or `cmd`. + * * would become **, which walks the whole tree. * ~ would be at the start of the file name, but not the tail. * $ could be anywhere in the tail. * ` could be anywhere in the file name. */ tail = gettail(retval); if ((*retval != '~' || tail != retval) + && (len == 0 || retval[len - 1] != '*') && vim_strchr(tail, '$') == NULL && vim_strchr(retval, '`') == NULL) retval[len++] = '*'; diff --git a/src/version.h b/src/version.h index 843d9a124..fdb32c8a8 100644 --- a/src/version.h +++ b/src/version.h @@ -35,6 +35,6 @@ */ #define VIM_VERSION_NODOT "vim70d" #define VIM_VERSION_SHORT "7.0d" -#define VIM_VERSION_MEDIUM "7.0d04 BETA" -#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0d04 BETA (2006 Apr 14)" -#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0d04 BETA (2006 Apr 14, compiled " +#define VIM_VERSION_MEDIUM "7.0d05 BETA" +#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0d05 BETA (2006 Apr 15)" +#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0d05 BETA (2006 Apr 15, compiled " |