build: fix compilation with --enable-tiny --enable-wrapping

Problem existed since commit 50106266 from three weeks ago.
master
Benno Schulenberg 2021-11-10 09:07:23 +01:00
parent a623f5836c
commit 496dad696c
1 changed files with 3 additions and 1 deletions

View File

@ -694,9 +694,11 @@ void copy_text(void)
/* Copy text from the cutbuffer into the current buffer. */
void paste_text(void)
{
#ifndef NANO_TINY
#if defined(ENABLE_WRAPPING) || !defined(NANO_TINY)
/* Remember where the paste started. */
linestruct *was_current = openfile->current;
#endif
#ifndef NANO_TINY
bool had_anchor = was_current->has_anchor;
#endif
ssize_t was_lineno = openfile->current->lineno;