From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from krisdoz.my.domain (kristaps@localhost [127.0.0.1]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id o5S9mjPr025137 for ; Mon, 28 Jun 2010 05:48:45 -0400 (EDT) Received: (from kristaps@localhost) by krisdoz.my.domain (8.14.3/8.14.3/Submit) id o5S9mi55016260; Mon, 28 Jun 2010 05:48:44 -0400 (EDT) Date: Mon, 28 Jun 2010 05:48:44 -0400 (EDT) Message-Id: <201006280948.o5S9mi55016260@krisdoz.my.domain> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: kristaps@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: Tiny commit clarifying flushln() documentation as to what refers X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- 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). Modified Files: -------------- mdocml: term.c Revision Data ------------- Index: term.c =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/term.c,v retrieving revision 1.151 retrieving revision 1.152 diff -Lterm.c -Lterm.c -u -p -r1.151 -r1.152 --- term.c +++ term.c @@ -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. -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv