mirror of https://github.com/stella-emu/stella.git
Fix for one compile warning and one compile error :)
This commit is contained in:
parent
d3785e6994
commit
b24a8bcb70
|
@ -22,6 +22,7 @@ class Properties;
|
|||
class CommandSender;
|
||||
class DialogContainer;
|
||||
class OSystem;
|
||||
class StellaSettingsDialog;
|
||||
|
||||
#include "Dialog.hxx"
|
||||
|
||||
|
|
|
@ -116,7 +116,7 @@ OptionsDialog::OptionsDialog(OSystem& osystem, DialogContainer& parent,
|
|||
b = ADD_OD_BUTTON("About" + ELLIPSIS, kAboutCmd);
|
||||
wid.push_back(b);
|
||||
|
||||
buttonWidth = _font.getStringWidth(" Close ") + 20,
|
||||
buttonWidth = _font.getStringWidth(" Close ") + 20;
|
||||
xoffset -= (buttonWidth + 10) / 2;
|
||||
b = ADD_OD_BUTTON("Close", kExitCmd);
|
||||
wid.push_back(b);
|
||||
|
|
Loading…
Reference in New Issue