render: maybe_resize(): remove debug assert

This, depending on which compiler being used, caused issues not only
in debug builds, but release builds as well (with NDEBUG defined).
This commit is contained in:
Daniel Eklöf 2022-11-01 17:12:16 +01:00
parent 2c2a39317b
commit 30d088376c
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -3965,7 +3965,6 @@ maybe_resize(struct terminal *term, int width, int height, bool force)
if (term->window->is_resizing && term->conf->resize_delay_ms > 0) {
if (term->interactive_resizing.grid == NULL) {
term_ptmx_pause(term);
xassert(false);
/* Stash the current normal grid, as-is, to be used when
* doing the final reflow */