2016-01-02 Benno Schulenberg <bensberg@justemail.net>
* src/text.c (do_spell, do_formatter): Plug three tiny memory leaks.
+ * src/text.c (do_alt_speller, do_formatter): There is no need here to
+ reinitialize the windows; it will be done when polling the keybuffer.
2015-12-31 Benno Schulenberg <bensberg@justemail.net>
* src/text.c (do_formatter): Restore the cursor position differently.
/* 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) {
#ifndef NANO_TINY
/* Turn the mark back on if it was on before. */
/* 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(format_status) || WEXITSTATUS(format_status) != 0)
finalstatus = invocation_error(openfile->syntax->formatter);
else {