git-svn-id: svn://svn.savannah.gnu.org/nano/branches/nano_1_0_branch/nano@653
35c25a1d-7b9e-4130-9fde-
d3aeb78583b8
CVS code -
+- nano.c:
+ do_alt_speller()
+ - Try to go to the same line we were on before before spell check
+ (Rocco).
nano 1.0.2 - 05/12/2001
- General:
int alt_spell_status;
pid_t pid_spell;
char *ptr;
+ long lineno_cur = current->lineno;
static int arglen = 3;
static char **spellargs = (char **) NULL;
free_filestruct(fileage);
global_init();
open_file(file_name, 0, 1);
- edit_update(fileage, CENTER);
- display_main_list();
+
+ do_gotoline(lineno_cur);
set_modified();
return TRUE;