Build fix.

This commit is contained in:
Adrien Destugues 2014-08-13 08:31:54 +02:00
parent c38dd82ded
commit ea7fbc874f
1 changed files with 3 additions and 3 deletions

View File

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