version 1.27, 2010/04/07 23:15:05 |
version 1.28, 2010/04/12 22:52:19 |
|
|
int j; /* temporary loop index */ |
int j; /* temporary loop index */ |
int jhy; /* last hyphen before line overflow */ |
int jhy; /* last hyphen before line overflow */ |
size_t maxvis, mmax; |
size_t maxvis, mmax; |
static int line_started = 0; |
|
|
|
/* |
/* |
* First, establish the maximum columns of "visible" content. |
* First, establish the maximum columns of "visible" content. |
|
|
/* LINTED */ |
/* LINTED */ |
for (j = 0; j < (int)p->offset; j++) |
for (j = 0; j < (int)p->offset; j++) |
putchar(' '); |
putchar(' '); |
line_started = 1; |
|
|
|
/* |
/* |
* Find out whether we would exceed the right margin. |
* Find out whether we would exceed the right margin. |
|
|
p->overstep = 0; |
p->overstep = 0; |
|
|
if ( ! (TERMP_NOBREAK & p->flags)) { |
if ( ! (TERMP_NOBREAK & p->flags)) { |
if (line_started) { |
putchar('\n'); |
putchar('\n'); |
|
line_started = 0; |
|
} |
|
return; |
return; |
} |
} |
|
|