[BACK]Return to man_term.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/man_term.c between version 1.135 and 1.136

version 1.135, 2012/11/17 00:26:33 version 1.136, 2013/01/05 22:19:12
Line 1 
Line 1 
 /*      $Id$ */  /*      $Id$ */
 /*  /*
  * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2010, 2011, 2012 Ingo Schwarze <schwarze@openbsd.org>   * Copyright (c) 2010, 2011, 2012, 2013 Ingo Schwarze <schwarze@openbsd.org>
  *   *
  * Permission to use, copy, modify, and distribute this software for any   * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above   * purpose with or without fee is hereby granted, provided that the above
Line 564  post_HP(DECL_ARGS)
Line 564  post_HP(DECL_ARGS)
   
         switch (n->type) {          switch (n->type) {
         case (MAN_BODY):          case (MAN_BODY):
                 term_flushln(p);                  term_newln(p);
                 p->flags &= ~TERMP_NOBREAK;                  p->flags &= ~TERMP_NOBREAK;
                 p->flags &= ~TERMP_TWOSPACE;                  p->flags &= ~TERMP_TWOSPACE;
                 p->offset = mt->offset;                  p->offset = mt->offset;
Line 1001  out:
Line 1001  out:
          * more specific than this.           * more specific than this.
          */           */
         if (MANT_LITERAL & mt->fl && ! (TERMP_NOBREAK & p->flags) &&          if (MANT_LITERAL & mt->fl && ! (TERMP_NOBREAK & p->flags) &&
             NULL != n->next && n->next->line > n->line) {              (NULL == n->next || n->next->line > n->line)) {
                 rm = p->rmargin;                  rm = p->rmargin;
                 rmax = p->maxrmargin;                  rmax = p->maxrmargin;
                 p->rmargin = p->maxrmargin = TERM_MAXMARGIN;                  p->rmargin = p->maxrmargin = TERM_MAXMARGIN;

Legend:
Removed from v.1.135  
changed lines
  Added in v.1.136

CVSweb