cgmnlm

Unnamed repository; edit this file 'description' to name the repository.
git clone git://code.clttr.info/cgmnlm.git
Log | Files | Refs | README | LICENSE

commit e7b2013160db902df5b833ff2e49eaff90807514
parent 100759a7d796f4e486a89b65b3ca491c1141056f
Author: René Wagner <rwagner@rw-net.de>
Date:   Mon,  1 Mar 2021 20:24:24 +0100

keep 4 char border an right side

Diffstat:
Msrc/gmnlm.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gmnlm.c b/src/gmnlm.c @@ -819,7 +819,7 @@ wrap(FILE *f, char *s, struct winsize *ws, int *row, int *col) break; } - if (*col >= ws->ws_col) { + if (*col >= ws->ws_col - 4) { int j = i--; while (&s[i] != s && !isspace(s[i])) --i; if (&s[i] == s) i = j;