Ticket #34017: patch-par.c
File patch-par.c, 375 bytes (added by kenh@…, 13 years ago) |
---|
Line | |
---|---|
1 | --- par.c.orig Sun Mar 28 16:00:15 2004 |
2 | +++ par.c Sun Mar 28 16:04:00 2004 |
3 | @@ -403,7 +403,8 @@ |
4 | } |
5 | continue; |
6 | } |
7 | - if (isspace(c)) ch = ' '; |
8 | + // Exclude non-breaking space from the class of space chars |
9 | + if (isspace(c) && isascii(c)) ch = ' '; |
10 | else blank = 0; |
11 | additem(cbuf, &ch, errmsg); |
12 | if (*errmsg) goto rlcleanup; |