Build fix.

This commit is contained in:
Adrien Destugues 2014-08-13 08:31:54 +02:00
parent c38dd82ded
commit ea7fbc874f

View File

@ -194,9 +194,9 @@ TermView::_Init()
font_height height; font_height height;
GetFontHeight(&height); GetFontHeight(&height);
fFontHeight = ceilf(height.ascent) + ceilf(height.descent) fFontHeight = (int)(ceilf(height.ascent) + ceilf(height.descent)
+ ceilf(height.leading); + ceilf(height.leading));
fFontWidth = be_fixed_font->StringWidth("X"); fFontWidth = (int)be_fixed_font->StringWidth("X");
fTerm = vterm_new(kDefaultHeight, kDefaultWidth); fTerm = vterm_new(kDefaultHeight, kDefaultWidth);
fTermScreen = vterm_obtain_screen(fTerm); fTermScreen = vterm_obtain_screen(fTerm);