mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-22 05:33:45 -04:00
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:
parent
2c2a39317b
commit
30d088376c
1 changed files with 0 additions and 1 deletions
1
render.c
1
render.c
|
|
@ -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->window->is_resizing && term->conf->resize_delay_ms > 0) {
|
||||||
if (term->interactive_resizing.grid == NULL) {
|
if (term->interactive_resizing.grid == NULL) {
|
||||||
term_ptmx_pause(term);
|
term_ptmx_pause(term);
|
||||||
xassert(false);
|
|
||||||
|
|
||||||
/* Stash the current ‘normal’ grid, as-is, to be used when
|
/* Stash the current ‘normal’ grid, as-is, to be used when
|
||||||
* doing the final reflow */
|
* doing the final reflow */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue