From c901631a00fd58fdb44b39d6288b7f40bd403cfe Mon Sep 17 00:00:00 2001 From: leitner Date: Wed, 24 Sep 2003 22:51:40 +0000 Subject: [PATCH] embarassing cut&paste error --- textcode/fmt_foldwhitespace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/textcode/fmt_foldwhitespace.c b/textcode/fmt_foldwhitespace.c index f74e4de..01e0938 100644 --- a/textcode/fmt_foldwhitespace.c +++ b/textcode/fmt_foldwhitespace.c @@ -11,7 +11,7 @@ unsigned long fmt_foldwhitespace(char* dest,const char* src,unsigned long len) { switch (c=s[i]) { case ' ': case '\t': case '\n': c='_'; break; } - if (dest) dest[i]=s[i]; + if (dest) dest[i]=c; } return len; }