From a521ac4ae7b33deb6a9a1c4cc8edbf2dd0bc352f Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Mon, 27 May 2019 10:11:22 +0200 Subject: [PATCH] tweaks: exclude a bug check from the tiny version --- src/nano.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nano.c b/src/nano.c index ab43ae56..1474afec 100644 --- a/src/nano.c +++ b/src/nano.c @@ -283,12 +283,12 @@ void extract(linestruct *top, size_t top_x, linestruct *bot, size_t bot_x) #ifndef NANO_TINY bool mark_inside = FALSE; bool same_line = FALSE; -#endif if (top == bot && top_x == bot_x) { statusline(ALERT, "Extracting nothing -- please report a bug"); return; } +#endif /* Partition the buffer so that it contains only the text from * (top, top_x) to (bot, bot_x), keep track of whether the top of