mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-09-07 16:54:28 +00:00
- fixed a compiler warning
This commit is contained in:
parent
b248b687db
commit
cc8de15355
@ -302,7 +302,7 @@ PrefsWindow::PrefsWindow(uint32 msg) : BWindow(BRect(0, 0, 400, 289), GetString(
|
||||
bar->AddItem(menu);
|
||||
AddChild(bar);
|
||||
SetKeyMenuBar(bar);
|
||||
int mbar_height = bar->Bounds().bottom + 1;
|
||||
int mbar_height = int(bar->Bounds().bottom) + 1;
|
||||
|
||||
// Resize window to fit menu bar
|
||||
ResizeBy(0, mbar_height);
|
||||
|
Loading…
Reference in New Issue
Block a user