diff src/tag.c @ 1785:65c332f15dbf v7.2.083

updated for version 7.2-083
author vimboss
date Tue, 13 Jan 2009 16:28:21 +0000
parents 6aea606c9e91
children bbf0ba46e51d
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