mirror of https://github.com/stella-emu/stella.git
forgot to save before committing :)
This commit is contained in:
parent
7747f6b826
commit
840ea4a10d
|
@ -88,8 +88,7 @@ WhatsNewDialog::WhatsNewDialog(OSystem& osystem, DialogContainer& parent,
|
||||||
|
|
||||||
// Set needed dimensions
|
// Set needed dimensions
|
||||||
ypos += VGAP * 2 + buttonHeight + VBORDER;
|
ypos += VGAP * 2 + buttonHeight + VBORDER;
|
||||||
if(ypos > FBMinimum::Height) // minimal launcher height
|
assert(ypos <= FBMinimum::Height); // minimal launcher height
|
||||||
throw runtime_error("ERROR: Too many entries in WhatsNewDialog!");
|
|
||||||
setSize(MAX_CHARS * fontWidth + HBORDER * 2, ypos, max_w, max_h);
|
setSize(MAX_CHARS * fontWidth + HBORDER * 2, ypos, max_w, max_h);
|
||||||
|
|
||||||
WidgetArray wid;
|
WidgetArray wid;
|
||||||
|
|
Loading…
Reference in New Issue