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
|
||||
ypos += VGAP * 2 + buttonHeight + VBORDER;
|
||||
if(ypos > FBMinimum::Height) // minimal launcher height
|
||||
throw runtime_error("ERROR: Too many entries in WhatsNewDialog!");
|
||||
assert(ypos <= FBMinimum::Height); // minimal launcher height
|
||||
setSize(MAX_CHARS * fontWidth + HBORDER * 2, ypos, max_w, max_h);
|
||||
|
||||
WidgetArray wid;
|
||||
|
|
Loading…
Reference in New Issue