tweaks: avoid a warning about an unused variable in the tiny version

master
Benno Schulenberg 2020-07-16 12:41:01 +02:00
parent b744eec1a9
commit 60d31d2ea6
1 changed files with 2 additions and 2 deletions

View File

@ -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)) if (was_at_eol || openfile->current_x > strlen(openfile->current->data))
openfile->current_x = strlen(openfile->current->data); openfile->current_x = strlen(openfile->current->data);
#ifndef NANO_TINY
if (replaced) { if (replaced) {
#ifndef NANO_TINY
openfile->filetop->has_anchor = FALSE; openfile->filetop->has_anchor = FALSE;
update_undo(COUPLE_END); update_undo(COUPLE_END);
}
#endif #endif
}
openfile->placewewant = pww_save; openfile->placewewant = pww_save;
adjust_viewport(STATIONARY); adjust_viewport(STATIONARY);