]> git.lyx.org Git - features.git/commitdiff
fixed typo in LaTeX::runBibTeX
authorAllan Rae <rae@lyx.org>
Tue, 7 Dec 1999 01:51:27 +0000 (01:51 +0000)
committerAllan Rae <rae@lyx.org>
Tue, 7 Dec 1999 01:51:27 +0000 (01:51 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@355 a592a061-630c-0410-9148-cb99ea01b6c8

ChangeLog
src/LaTeX.C

index 3a98ad9cc3182f9617e18bd3b7001dc1144b3027..f59dfe0cfebd1447cd44945f21b0ef72facea55d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1999-12-06  Allan Rae  <rae@lyx.org>
+
+       * src/LaTeX.C (runBibTeX): fix typo in accessing submatch pair.
+
 1999-12-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
 
        * src/support/lyxstring.C: added a lot of inline for no good
 1999-12-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
 
        * src/support/lyxstring.C: added a lot of inline for no good
index 5bd72091c8a93cb9abed6de9b7a35e3825b74a3b..f2a3c12f33fd83f5a5a4afa76f632ffdfc2eb9da 100644 (file)
@@ -386,7 +386,7 @@ bool LaTeX::runBibTeX(string const & file, DepTable & dep)
                        using_bibtex = true;
                        LRegex::SubMatches const & sub = reg1.exec(token);
                        string data = LSubstring(token, sub[1].first,
                        using_bibtex = true;
                        LRegex::SubMatches const & sub = reg1.exec(token);
                        string data = LSubstring(token, sub[1].first,
-                                                sub[2].second);
+                                                sub[1].second);
                        // data is now all the bib files separated by ','
                        // get them one by one and pass them to the helper
                        string::size_type b;
                        // data is now all the bib files separated by ','
                        // get them one by one and pass them to the helper
                        string::size_type b;