]> git.lyx.org Git - features.git/commitdiff
fix line tracking in tabular latex generation
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 27 Nov 2001 14:27:08 +0000 (14:27 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 27 Nov 2001 14:27:08 +0000 (14:27 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3094 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/tabular.C

index 8f8dd1bebd13f77bd0d36bb3974674fd90c0f6b6..42efae69f622dcd66b9657529ac0cee65fe420fe 100644 (file)
@@ -1,3 +1,7 @@
+2001-11-27  Ben Stanley  <bds02@uow.edu.au>
+
+       * tabular.C (Latex): correct line count when writing latex.
+
 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
 
        * paragraph_pimpl.h:
index 07316512f8ffa678b088cdfa1c7600a1d679b53a..1445ad1818e07dd13337623881ad1980f65c4e04 100644 (file)
@@ -2212,6 +2212,7 @@ int LyXTabular::Latex(Buffer const * buf,
                        ++cell;
                }
                os << "\\\\\n";
+               ++ret;
                ret += TeXBottomHLine(os, i);
                if (IsLongTabular()) {
                        if (i == (endhead.row - 1)) {