version 1.138, 2010/05/25 12:37:20 |
version 1.139, 2010/05/26 09:35:35 |
Line 560 mdoc_ptext(struct mdoc *m, int line, char *buf, int of |
|
Line 560 mdoc_ptext(struct mdoc *m, int line, char *buf, int of |
|
* Search for the beginning of unescaped trailing whitespace (ws) |
* Search for the beginning of unescaped trailing whitespace (ws) |
* and for the first character not to be output (end). |
* and for the first character not to be output (end). |
*/ |
*/ |
|
|
|
/* FIXME: replace with strcspn(). */ |
ws = NULL; |
ws = NULL; |
for (c = end = buf + offs; *c; c++) { |
for (c = end = buf + offs; *c; c++) { |
switch (*c) { |
switch (*c) { |