nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 1539837fe0fd5ff9692a108984ac80208f009718
parent dcc201b5b2965f0b581213af636482b39e6404cf
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Fri,  5 Nov 2004 15:03:12 +0000

cosmetic fix


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2061 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
Msrc/nano.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/nano.c b/src/nano.c @@ -1962,7 +1962,7 @@ const char *do_alt_speller(char *tempfile_name) #ifndef NANO_SMALL if (old_mark_set) { - filestruct *old_top = fileage; + filestruct *top_save = fileage; /* If we added a magicline, remove it now. */ if (added_magicline) @@ -1979,7 +1979,7 @@ const char *do_alt_speller(char *tempfile_name) * the spell-checked marked text to the saved values of totlines * and totsize, and then make those saved values the actual * values. */ - renumber(old_top); + renumber(top_save); old_totlines += totlines; old_totsize += totsize; totlines = old_totlines;