=================================================================== RCS file: /cvs/mandoc/term.c,v retrieving revision 1.92 retrieving revision 1.93 diff -u -p -r1.92 -r1.93 --- mandoc/term.c 2009/07/23 08:35:22 1.92 +++ mandoc/term.c 2009/07/24 11:54:25 1.93 @@ -1,4 +1,4 @@ -/* $Id: term.c,v 1.92 2009/07/23 08:35:22 kristaps Exp $ */ +/* $Id: term.c,v 1.93 2009/07/24 11:54:25 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -259,7 +259,7 @@ term_flushln(struct termp *p) /* LINTED */ for (j = i, vsz = 0; j < (int)p->col; j++) { - if (' ' == p->buf[j]) + if (j && ' ' == p->buf[j]) break; else if (8 == p->buf[j]) vsz--;