From fdd0397411d647405f92aaebaae0e9d310436e96 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Thu, 22 Sep 2005 01:36:35 +0000 Subject: Stephen Rueger: 21744: unconditionally assume that \t or \n are not part of multi-byte characters. --- 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 27a07c574..8bd1ad9de 100644 --- a/Src/prompt.c +++ b/Src/prompt.c @@ -859,7 +859,7 @@ countprompt(char *str, int *wp, int *hp, int overf) * relying on the character set being an extension * of ASCII so it's safe to test a single byte. */ - if (multi) { + if (!multi) { #endif if (*str == '\t') { w = (w | 7) + 1; -- cgit 1.4.1