From 60d31d2ea6e800e3d29d8b10c0040da56e3ded72 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 16 Jul 2020 12:41:01 +0200 Subject: [PATCH] tweaks: avoid a warning about an unused variable in the tiny version --- src/text.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/text.c b/src/text.c index 6fde2a24..c6154e70 100644 --- a/src/text.c +++ b/src/text.c @@ -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);