Init global fonts before BWidthBuffer. Probably cleaner, since it may use
some fonts already, but I have not looked... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30308 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
8d18637080
commit
a31d4f9d29
|
@ -936,10 +936,10 @@ _init_interface_kit_()
|
|||
// TODO: Could support different themes here in the future.
|
||||
be_control_look = new BControlLook();
|
||||
|
||||
BPrivate::gWidthBuffer = new BPrivate::WidthBuffer;
|
||||
|
||||
_init_global_fonts_();
|
||||
|
||||
BPrivate::gWidthBuffer = new BPrivate::WidthBuffer;
|
||||
|
||||
_menu_info_ptr_ = &BMenu::sMenuInfo;
|
||||
|
||||
status = get_menu_info(&BMenu::sMenuInfo);
|
||||
|
|
Loading…
Reference in New Issue