Mercurial > vim
changeset 1785:65c332f15dbf v7.2.083
updated for version 7.2-083
author | vimboss |
---|---|
date | Tue, 13 Jan 2009 16:28:21 +0000 |
parents | be7491f23e9d |
children | b2f4319efde1 |
files | src/tag.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/tag.c +++ b/src/tag.c @@ -515,7 +515,7 @@ do_tag(tag, type, count, forceit, verbos * If a count is supplied to the ":tag <name>" command, then * jump to count'th matching tag. */ - if (type == DT_TAG && count > 0) + if (type == DT_TAG && *tag != NUL && count > 0) cur_match = count - 1; if (type == DT_SELECT || type == DT_JUMP