version 1.77, 2009/06/11 07:46:41 |
version 1.78, 2009/06/11 10:34:32 |
Line 272 term_flushln(struct termp *p) |
|
Line 272 term_flushln(struct termp *p) |
|
vis = p->rmargin - p->offset; |
vis = p->rmargin - p->offset; |
} |
} |
|
|
/* |
/* |
* Write out the word and a trailing space. Omit the |
* Prepend a space if we're not already at the beginning |
* space if we're the last word in the line or beyond |
* of the line, then the word. |
* our breakpoint. |
|
*/ |
*/ |
|
|
if (0 < vis++) |
if (0 < vis++) |
Line 294 term_flushln(struct termp *p) |
|
Line 293 term_flushln(struct termp *p) |
|
* cause a newline and offset at the right margin. |
* cause a newline and offset at the right margin. |
*/ |
*/ |
|
|
if ((TERMP_NOBREAK & p->flags) && vis >= maxvis) { |
if ((TERMP_NOBREAK & p->flags) && vis > maxvis) { |
if ( ! (TERMP_NONOBREAK & p->flags)) { |
if ( ! (TERMP_NONOBREAK & p->flags)) { |
putchar('\n'); |
putchar('\n'); |
for (i = 0; i < (int)p->rmargin; i++) |
for (i = 0; i < (int)p->rmargin; i++) |