From 0346e63c201815a82223aaf1e1475fdf2758fc61 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Fri, 5 Nov 2021 15:53:01 +0100 Subject: [PATCH] build: fix compilation when configured with --enable-tiny Problem existed since commit 50106266 from two weeks ago. --- src/cut.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cut.c b/src/cut.c index 06025112..1ea394b1 100644 --- a/src/cut.c +++ b/src/cut.c @@ -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))