Fix for one compile warning and one compile error :)

This commit is contained in:
Stephen Anthony 2019-04-26 16:01:25 -02:30
parent d3785e6994
commit b24a8bcb70
2 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@ class Properties;
class CommandSender;
class DialogContainer;
class OSystem;
class StellaSettingsDialog;
#include "Dialog.hxx"

View File

@ -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);