mirror of https://github.com/stella-emu/stella.git
Fix compile errors in gcc/clang.
This commit is contained in:
parent
b3cd562046
commit
53338ce6ef
|
@ -89,6 +89,11 @@ AboutDialog::AboutDialog(OSystem& osystem, DialogContainer& parent,
|
|||
addToFocusList(wid);
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
AboutDialog::~AboutDialog()
|
||||
{
|
||||
}
|
||||
|
||||
// The following commands can be put at the start of a line (all subject to change):
|
||||
// \C, \L, \R -- set center/left/right alignment
|
||||
// \c0 - \c5 -- set a custom color:
|
||||
|
|
|
@ -32,7 +32,7 @@ class AboutDialog : public Dialog
|
|||
public:
|
||||
AboutDialog(OSystem& osystem, DialogContainer& parent,
|
||||
const GUI::Font& font);
|
||||
virtual ~AboutDialog() = default;
|
||||
virtual ~AboutDialog();
|
||||
|
||||
private:
|
||||
void handleCommand(CommandSender* sender, int cmd, int data, int id) override;
|
||||
|
|
|
@ -26,8 +26,7 @@ WhatsNewDialog::WhatsNewDialog(OSystem& osystem, DialogContainer& parent, const
|
|||
int max_w, int max_h)
|
||||
: Dialog(osystem, parent, font, "What's New in Stella " + string(STELLA_VERSION) + "?")
|
||||
{
|
||||
const int lineHeight = _font.getLineHeight(),
|
||||
fontHeight = _font.getFontHeight(),
|
||||
const int fontHeight = _font.getFontHeight(),
|
||||
fontWidth = _font.getMaxCharWidth(),
|
||||
buttonHeight = _font.getLineHeight() * 1.25;
|
||||
const int VGAP = fontHeight / 4;
|
||||
|
|
Loading…
Reference in New Issue