mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 10:51:03 +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;
|
||||
case ENSPACE:
|
||||
case ENSKIP:
|
||||
dim.wid = 0.5 * fm.width(char_type('M'));
|
||||
dim.wid = int(0.5 * fm.width(char_type('M')));
|
||||
break;
|
||||
}
|
||||
// Cache the inset dimension.
|
||||
|
Loading…
Reference in New Issue
Block a user