fix warning.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22297 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-12-25 18:49:55 +00:00
parent 44383f5162
commit 6564f8a52a

View File

@ -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.