text is copied and so can be used instead of the old return
value. (DLR)
- Remove unused quote_len parameter. (DLR)
+ do_justify()
+ - Don't save current_y and restore it if the user unjustifies,
+ as the reset_cursor() called by edit_refresh() after restoring
+ edittop and current will ensure that current_y is restored to
+ its original value. (DLR)
do_alt_speller()
- Move the code that replaces the text of the current file with
the text of the spell-checked file into its own function,
filestruct *current_save = openfile->current;
size_t current_x_save = openfile->current_x;
size_t pww_save = openfile->placewewant;
- ssize_t current_y_save = openfile->current_y;
size_t totsize_save = openfile->totsize;
#ifndef NANO_TINY
filestruct *mark_begin_save = openfile->mark_begin;
openfile->current = current_save;
openfile->current_x = current_x_save;
openfile->placewewant = pww_save;
- openfile->current_y = current_y_save;
openfile->totsize = totsize_save;
#ifndef NANO_TINY
if (openfile->mark_set) {