From f21add69a4101db646667b835a1c48d49b8d8801 Mon Sep 17 00:00:00 2001 From: Thomas Jentzsch Date: Thu, 4 Nov 2021 09:24:50 +0100 Subject: [PATCH] forgot to save before committing :) --- src/gui/WhatsNewDialog.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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;