mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Fix warning
This commit is contained in:
parent
a0ce37147c
commit
76f3f6eb01
@ -113,7 +113,7 @@ pos_type Row::Element::x2pos(int &x, bool const select) const
|
|||||||
break;
|
break;
|
||||||
case INSET:
|
case INSET:
|
||||||
case SPACE: {
|
case SPACE: {
|
||||||
int const boundary = select ? (full_width() + 1) / 2 : full_width();
|
double const boundary = select ? (full_width() + 1) / 2 : full_width();
|
||||||
// those elements contain only one position. Round to
|
// those elements contain only one position. Round to
|
||||||
// the closest side.
|
// the closest side.
|
||||||
if (x > boundary) {
|
if (x > boundary) {
|
||||||
|
Loading…
Reference in New Issue
Block a user