mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +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;
|
||||
case INSET:
|
||||
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
|
||||
// the closest side.
|
||||
if (x > boundary) {
|
||||
|
Loading…
Reference in New Issue
Block a user