Build fix.
This commit is contained in:
parent
c38dd82ded
commit
ea7fbc874f
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user