From 8234c22c1e07b2b7e1e6d3e03774c98c35ab1a34 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Wed, 10 Nov 2021 09:11:04 +0100 Subject: [PATCH] tweaks: avoid a compiler warning with --enable-tiny --enable-linenumbers --- src/nano.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/nano.c b/src/nano.c index c2588d57..9ff64e7c 100644 --- a/src/nano.c +++ b/src/nano.c @@ -1254,8 +1254,9 @@ void confirm_margin(void) #ifndef NANO_TINY /* Ensure a proper starting column for the first screen row. */ ensure_firstcolumn_is_aligned(); - focusing = keep_focus; #endif + focusing = keep_focus; + /* The margin has changed -- schedule a full refresh. */ refresh_needed = TRUE; }