Fixed bug in tracking of url.used and citen.used
authorTim Pope <code@tpope.net>
Sun, 16 Nov 2003 22:28:21 +0000 (22:28 +0000)
committerTim Pope <code@tpope.net>
Sun, 16 Nov 2003 22:28:21 +0000 (22:28 +0000)
mlastyle.bst

index f705a3204b04410f7726e8697ddb54c1eab3b85f..6055ac2adb4d23e2b4e34bec686741b614f01f43 100644 (file)
@@ -620,7 +620,6 @@ FUNCTION {format.url}
        { accessdate " " * }
       if$
       "$<$\url{" * url * "}$>$" *
-      url.used #1 + 'url.used :=
       urlpath empty$
        'skip$
        { do.period " Path: " * urlpath * }
@@ -1369,6 +1368,8 @@ FUNCTION {init.vars}
 
 FUNCTION {forward.author.dup.check}
 {
+  url empty$ 'skip$ { url.used #1 + 'url.used := } if$
+  crossref empty$ 'skip$ { citen.used #1 + 'citen.used := } if$
   author empty$
     { editor empty$ { organization field.or.null 'a := }{ editor 'a :=} if$}
     { author 'a := }