diff --git a/src/text.c b/src/text.c index 174bd9f307f708f240aa173741f8719e2f88c071..c74de28b62ae65ac90ab33c0ad1b4d5ffccdf6c4 100644 --- a/src/text.c +++ b/src/text.c @@ -1907,10 +1907,6 @@ const char *do_alt_speller(char *tempfile_name) /* Turn the cursor back on for sure. */ curs_set(1); - /* The screen might have been resized. If it has, reinitialize all - * the windows based on the new screen dimensions. */ - window_init(); - if (!WIFEXITED(alt_spell_status) || WEXITSTATUS(alt_spell_status) != 0) { char *altspell_error; diff --git a/src/winio.c b/src/winio.c index 6a13013501d42ffd643bd65471c7825cde522d05..4de9d567f6a758ececc8b02630aeb15bfaa7068d 100644 --- a/src/winio.c +++ b/src/winio.c @@ -3487,7 +3487,8 @@ int need_vertical_update(size_t old_pww) * of lines, and draw new lines on the blank lines left after the * scrolling. direction is the direction to scroll, either UP or DOWN, * and nlines is the number of lines to scroll. We change edittop, and - * assume that current and current_x are up to date. */ + * assume that current and current_x are up to date. We also assume + * that scrollok(edit) is FALSE. */ void edit_scroll(updown direction, int nlines) { bool do_redraw = need_vertical_update(0);