tweaks: recompute the wrapping point just once

Instead of for every row after the intro.
master
Benno Schulenberg 2020-01-09 14:47:48 +01:00
parent 3f57200e10
commit 9a227de3e7
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ void wrap_help_text_into_buffer(void)
int length, shim;
char *oneline;
if (ptr >= end_of_intro)
if (ptr == end_of_intro)
wrapping_point = (COLS < 24) ? 24 : COLS;
if (ptr > end_of_intro && *(ptr - 1) != '\n') {