mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-21 07:12:10 +00:00
fix warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22297 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
44383f5162
commit
6564f8a52a
@ -69,7 +69,7 @@ void InsetSpace::metrics(MetricsInfo & mi, Dimension & dim) const
|
|||||||
break;
|
break;
|
||||||
case ENSPACE:
|
case ENSPACE:
|
||||||
case ENSKIP:
|
case ENSKIP:
|
||||||
dim.wid = 0.5 * fm.width(char_type('M'));
|
dim.wid = int(0.5 * fm.width(char_type('M')));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// Cache the inset dimension.
|
// Cache the inset dimension.
|
||||||
|
Loading…
Reference in New Issue
Block a user