Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 604000
Collapse All | Expand All

(-)file_not_specified_in_diff (-1 / +3 lines)
Line  Link Here
0
-- a/nano-2.7.3/src/text.c
0
++ b/nano-2.7.3/src/text.c
Lines 3079-3087 Link Here
3079
    stat(tempfile_name, &spellfileinfo);
3079
    stat(tempfile_name, &spellfileinfo);
3080
    if (spellfileinfo.st_mtime != timestamp) {
3080
    if (spellfileinfo.st_mtime != timestamp) {
3081
	set_modified();
3081
	set_modified();
3082
#ifndef NANO_TINY
3082
	/* Flush the undo stack, to avoid making a mess when the user
3083
	/* Flush the undo stack, to avoid making a mess when the user
3083
	 * tries to undo things in spell-corrected lines. */
3084
	 * tries to undo things in spell-corrected lines. */
3084
	discard_until(NULL, openfile);
3085
	discard_until(NULL, openfile);
3086
#endif
3085
    }
3087
    }
3086
#ifndef NANO_TINY
3088
#ifndef NANO_TINY
3087
    /* Unblock SIGWINCHes again. */
3089
    /* Unblock SIGWINCHes again. */

Return to bug 604000