From d8d9fee137a5aa2cf9bf8314b06895bfc2a05518 Mon Sep 17 00:00:00 2001 From: Warepire Date: Mon, 15 Jan 2018 11:35:58 +0100 Subject: 42285: off by one fix in multiple prompts --- Src/prompt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/prompt.c') diff --git a/Src/prompt.c b/Src/prompt.c index 63e8093f3..95da52559 100644 --- a/Src/prompt.c +++ b/Src/prompt.c @@ -1087,7 +1087,7 @@ countprompt(char *str, int *wp, int *hp, int overf) #endif for (; *str; str++) { - if (w >= zterm_columns && overf >= 0) { + if (w > zterm_columns && overf >= 0) { w = 0; h++; } -- cgit v1.2.3