fix compilation buglet

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3095 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2001-11-27 15:05:32 +00:00
parent 6a660a48b7
commit 58ed1e8f02
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* text.C (paintFirstRow): compilation fix
2001-11-27 Ben Stanley <bds02@uow.edu.au> 2001-11-27 Ben Stanley <bds02@uow.edu.au>
* tabular.C (Latex): correct line count when writing latex. * tabular.C (Latex): correct line count when writing latex.

View File

@ -3186,9 +3186,9 @@ void LyXText::paintFirstRow(DrawRowParams & p)
y_top += 3 * defaultHeight(); y_top += 3 * defaultHeight();
} else if (parparams.spaceTop().kind() == VSpace::LENGTH) { } else if (parparams.spaceTop().kind() == VSpace::LENGTH) {
string str(string(_("Space above")) + " (" string str = string(_("Space above")) + " ("
+ parparams.spaceTop().asLyXCommand() + parparams.spaceTop().asLyXCommand()
+ ")"); + ")";
int const space = int(parparams.spaceTop().inPixels(p.bv)); int const space = int(parparams.spaceTop().inPixels(p.bv));
int const y = p.yo + y_top + space / 2; int const y = p.yo + y_top + space / 2;