forgot to save before committing :)

This commit is contained in:
Thomas Jentzsch 2021-11-04 09:24:50 +01:00
parent 7747f6b826
commit 840ea4a10d
1 changed files with 1 additions and 2 deletions

View File

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