From 6a660a48b7f4ec897b16776a66832f502c0f5d44 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Tue, 27 Nov 2001 14:27:08 +0000 Subject: [PATCH] fix line tracking in tabular latex generation git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3094 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ChangeLog | 4 ++++ src/tabular.C | 1 + 2 files changed, 5 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 8f8dd1bebd..42efae69f6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2001-11-27 Ben Stanley + + * tabular.C (Latex): correct line count when writing latex. + 2001-11-27 John Levon * paragraph_pimpl.h: diff --git a/src/tabular.C b/src/tabular.C index 07316512f8..1445ad1818 100644 --- a/src/tabular.C +++ b/src/tabular.C @@ -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)) {