fix line tracking in tabular latex generation

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3094 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2001-11-27 14:27:08 +00:00
parent d15b566887
commit 6a660a48b7
2 changed files with 5 additions and 0 deletions

View 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:

View 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)) {