diff options
Diffstat (limited to 'mdoc.c')
-rw-r--r-- | mdoc.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: mdoc.c,v 1.138 2010/05/25 12:37:20 kristaps Exp $ */ +/* $Id: mdoc.c,v 1.139 2010/05/26 09:35:35 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -560,6 +560,8 @@ mdoc_ptext(struct mdoc *m, int line, char *buf, int offs) * Search for the beginning of unescaped trailing whitespace (ws) * and for the first character not to be output (end). */ + + /* FIXME: replace with strcspn(). */ ws = NULL; for (c = end = buf + offs; *c; c++) { switch (*c) { |