mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
make g++ happy about variable declaration
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3099 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c780503b4c
commit
52ecdce716
@ -1,3 +1,8 @@
|
||||
2001-11-28 Allan Rae <rae@lyx.org>
|
||||
|
||||
* text.C (paintLastRow): g++-2.95.3 and others don't like variable
|
||||
declaration & definition that looks like a function declaration.
|
||||
|
||||
2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||
|
||||
* BufferView2.C (copy):
|
||||
|
@ -3402,9 +3402,10 @@ void LyXText::paintLastRow(DrawRowParams & p)
|
||||
|
||||
y_bottom -= 3 * defaultHeight();
|
||||
} else if (parparams.spaceBottom().kind() == VSpace::LENGTH) {
|
||||
string str(string(_("Space below")) + " ("
|
||||
string str = string(_("Space below"))
|
||||
+ " ("
|
||||
+ parparams.spaceBottom().asLyXCommand()
|
||||
+ ")");
|
||||
+ ")";
|
||||
|
||||
int const space = int(parparams.spaceBottom().inPixels(p.bv));
|
||||
int const y = p.yo + y_bottom - space / 2;
|
||||
|
Loading…
Reference in New Issue
Block a user