diff --git a/src/gui/WhatsNewDialog.cxx b/src/gui/WhatsNewDialog.cxx index 8dd41479f..7924cdbb6 100644 --- a/src/gui/WhatsNewDialog.cxx +++ b/src/gui/WhatsNewDialog.cxx @@ -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;