Commit fc89ac11 authored by Felix Janda's avatar Felix Janda Committed by Mike Frysinger
Browse files

speller: fix build when tiny build is enabled

URL: https://bugs.gentoo.org/604000
No related merge requests found
Showing with 2 additions and 0 deletions
+2 -0
......@@ -3079,9 +3079,11 @@ const char *do_alt_speller(char *tempfile_name)
stat(tempfile_name, &spellfileinfo);
if (spellfileinfo.st_mtime != timestamp) {
set_modified();
#ifndef NANO_TINY
/* Flush the undo stack, to avoid making a mess when the user
* tries to undo things in spell-corrected lines. */
discard_until(NULL, openfile);
#endif
}
#ifndef NANO_TINY
/* Unblock SIGWINCHes again. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment