From 3f42b0a61724c2d7f27d31aaf89e7930836b61ce Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 26 Nov 2010 18:50:22 +0000 Subject: Use newer PROMPT_SP behavior for hasxn terms too. --- Src/utils.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Src/utils.c') diff --git a/Src/utils.c b/Src/utils.c index daa753a1f..9678df01d 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -1292,10 +1292,7 @@ preprompt(void) countprompt(str, &w, 0, -1); opts[PROMPTPERCENT] = percents; zputs(str, shout); - if (hasxn) - fprintf(shout, "%*s\r%*s\r", (int)columns - w, "", w, ""); - else - fprintf(shout, "%*s\r", (int)columns - w - 1, ""); + fprintf(shout, "%*s\r%*s\r", (int)columns - w - !hasxn, "", w, ""); free(str); } -- cgit 1.4.1