build: fix compilation with --enable-tiny --enable-wrapping
Problem existed since commit 50106266
from three weeks ago.
master
parent
a623f5836c
commit
496dad696c
|
@ -694,9 +694,11 @@ void copy_text(void)
|
||||||
/* Copy text from the cutbuffer into the current buffer. */
|
/* Copy text from the cutbuffer into the current buffer. */
|
||||||
void paste_text(void)
|
void paste_text(void)
|
||||||
{
|
{
|
||||||
#ifndef NANO_TINY
|
#if defined(ENABLE_WRAPPING) || !defined(NANO_TINY)
|
||||||
/* Remember where the paste started. */
|
/* Remember where the paste started. */
|
||||||
linestruct *was_current = openfile->current;
|
linestruct *was_current = openfile->current;
|
||||||
|
#endif
|
||||||
|
#ifndef NANO_TINY
|
||||||
bool had_anchor = was_current->has_anchor;
|
bool had_anchor = was_current->has_anchor;
|
||||||
#endif
|
#endif
|
||||||
ssize_t was_lineno = openfile->current->lineno;
|
ssize_t was_lineno = openfile->current->lineno;
|
||||||
|
|
Loading…
Reference in New Issue