diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-28 09:48:44 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-28 09:48:44 +0000 |
commit | c94b25c38a12d4959b0fef58d24599f659e9a1de (patch) | |
tree | 04c2f1d03a7ad318bcb846ca21342de6b045e8f6 | |
parent | f4c4484c34c9d8eb90438b89791384876bf8efde (diff) | |
download | mandoc-c94b25c38a12d4959b0fef58d24599f659e9a1de.tar.gz |
Tiny commit clarifying flushln() documentation as to what refers to
visual screen output and what's an array index (getting closer to
variable-width fonting).
-rw-r--r-- | term.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -133,9 +133,10 @@ term_flushln(struct termp *p) size_t vbl; /* number of blanks to prepend to output */ size_t vend; /* end of word visual position on output */ size_t bp; /* visual right border position */ - int j; /* temporary loop index */ - int jhy; /* last hyphen before line overflow */ - size_t maxvis, mmax; + int j; /* temporary loop index for p->buf */ + int jhy; /* last hyph before overflow w/r/t j */ + size_t maxvis; /* output position of visible boundary */ + size_t mmax; /* used in calculating bp */ /* * First, establish the maximum columns of "visible" content. |