tweaks: recompute the wrapping point just once
Instead of for every row after the intro.
Этот коммит содержится в:
родитель
3f57200e10
Коммит
9a227de3e7
@ -54,7 +54,7 @@ void wrap_help_text_into_buffer(void)
|
|||||||
int length, shim;
|
int length, shim;
|
||||||
char *oneline;
|
char *oneline;
|
||||||
|
|
||||||
if (ptr >= end_of_intro)
|
if (ptr == end_of_intro)
|
||||||
wrapping_point = (COLS < 24) ? 24 : COLS;
|
wrapping_point = (COLS < 24) ? 24 : COLS;
|
||||||
|
|
||||||
if (ptr > end_of_intro && *(ptr - 1) != '\n') {
|
if (ptr > end_of_intro && *(ptr - 1) != '\n') {
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user