embarassing cut&paste error

master
leitner 21 years ago
parent 056760c5f1
commit c901631a00

@ -11,7 +11,7 @@ unsigned long fmt_foldwhitespace(char* dest,const char* src,unsigned long len) {
switch (c=s[i]) { switch (c=s[i]) {
case ' ': case '\t': case '\n': c='_'; break; case ' ': case '\t': case '\n': c='_'; break;
} }
if (dest) dest[i]=s[i]; if (dest) dest[i]=c;
} }
return len; return len;
} }

Loading…
Cancel
Save