mirror of git://git.sv.gnu.org/nano.git
tweaks: avoid a warning about an unused variable in the tiny version
This commit is contained in:
parent
b744eec1a9
commit
60d31d2ea6
|
@ -2182,12 +2182,12 @@ const char *treat(char *tempfile_name, char *theprogram, bool spelling)
|
|||
if (was_at_eol || openfile->current_x > strlen(openfile->current->data))
|
||||
openfile->current_x = strlen(openfile->current->data);
|
||||
|
||||
#ifndef NANO_TINY
|
||||
if (replaced) {
|
||||
#ifndef NANO_TINY
|
||||
openfile->filetop->has_anchor = FALSE;
|
||||
update_undo(COUPLE_END);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
openfile->placewewant = pww_save;
|
||||
adjust_viewport(STATIONARY);
|
||||
|
|
Loading…
Reference in New Issue