mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +00:00
InsetSeparator.cpp:backport a compiler warning fie
( 45e3a8f8/lyxgit)
This commit is contained in:
parent
67d7a17af5
commit
534137a517
@ -210,7 +210,7 @@ void InsetSeparator::draw(PainterInfo & pi, int x, int y) const
|
||||
pi.pain.lines(xp, yp, 2, ColorName());
|
||||
|
||||
if (params_.kind == InsetSeparatorParams::PARBREAK) {
|
||||
yp[0] += 0.25 * asc * 0.75;
|
||||
yp[0] += int(0.25 * asc * 0.75);
|
||||
yp[1] = yp[0];
|
||||
pi.pain.lines(xp, yp, 2, ColorName());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user