=================================================================== RCS file: /cvs/mandoc/roff.c,v retrieving revision 1.290 retrieving revision 1.291 diff -u -p -r1.290 -r1.291 --- mandoc/roff.c 2017/03/03 11:50:49 1.290 +++ mandoc/roff.c 2017/03/03 13:55:32 1.291 @@ -1,4 +1,4 @@ -/* $Id: roff.c,v 1.290 2017/03/03 11:50:49 schwarze Exp $ */ +/* $Id: roff.c,v 1.291 2017/03/03 13:55:32 schwarze Exp $ */ /* * Copyright (c) 2008-2012, 2014 Kristaps Dzonsons * Copyright (c) 2010-2015, 2017 Ingo Schwarze @@ -1608,7 +1608,7 @@ roff_parseln(struct roff *r, int ln, struct buf *buf, return ROFF_IGN; while (buf->buf[pos] != '\0' && buf->buf[pos] != ' ') pos++; - while (buf->buf[pos] != '\0' && buf->buf[pos] == ' ') + while (buf->buf[pos] == ' ') pos++; return tbl_read(r->tbl, ln, buf->buf, pos); }