diff --git a/src/cut.c b/src/cut.c index 3ce07f0c..06025112 100644 --- a/src/cut.c +++ b/src/cut.c @@ -728,6 +728,10 @@ void paste_text(void) update_undo(PASTE); #endif + /* When still on the same line and doing hard-wrapping, limit the width. */ + if (openfile->current == was_current && ISSET(BREAK_LONG_LINES)) + do_wrap(); + /* If we pasted less than a screenful, don't center the cursor. */ if (less_than_a_screenful(was_lineno, was_leftedge)) focusing = FALSE;