Skip to content

Commit

Permalink
Correct near-note queue removal condition
Browse files Browse the repository at this point in the history
  • Loading branch information
andras-simonyi committed Mar 19, 2018
1 parent fd36817 commit 6d68f52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions citeproc-cite.el
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,8 @@ ranges."
"Remove too distant citations from near-notes queue Q.
INDEX is the actual note-index, NND is the near-note-distance."
(while (and (queue-head q)
(<= nnd (- index
(citeproc-citation-note-index (queue-first q)))))
(< nnd (- index
(citeproc-citation-note-index (queue-first q)))))
(queue-dequeue q)))

(defun citeproc-cite--loc-equal-p (s1 s2)
Expand Down

0 comments on commit 6d68f52

Please sign in to comment.