build: fix compilation when configured with --enable-tiny

Problem existed since commit 50106266 from two weeks ago.
master
Benno Schulenberg 2021-11-05 15:53:01 +01:00
parent 9e982f3283
commit 0346e63c20
1 changed files with 2 additions and 0 deletions

View File

@ -728,9 +728,11 @@ void paste_text(void)
update_undo(PASTE);
#endif
#ifdef ENABLE_WRAPPING
/* When still on the same line and doing hard-wrapping, limit the width. */
if (openfile->current == was_current && ISSET(BREAK_LONG_LINES))
do_wrap();
#endif
/* If we pasted less than a screenful, don't center the cursor. */
if (less_than_a_screenful(was_lineno, was_leftedge))