version 1.139, 2013/12/22 23:34:13 |
version 1.140, 2014/02/16 12:33:39 |
|
|
/* $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, 2013 Ingo Schwarze <schwarze@openbsd.org> |
* Copyright (c) 2010-2014 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 658 pre_IP(DECL_ARGS) |
|
Line 658 pre_IP(DECL_ARGS) |
|
return(0); |
return(0); |
case (MAN_BODY): |
case (MAN_BODY): |
p->offset = mt->offset + len; |
p->offset = mt->offset + len; |
p->rmargin = p->maxrmargin; |
p->rmargin = p->maxrmargin > p->offset ? |
|
p->maxrmargin : p->offset; |
break; |
break; |
default: |
default: |
break; |
break; |
Line 748 pre_TP(DECL_ARGS) |
|
Line 749 pre_TP(DECL_ARGS) |
|
return(0); |
return(0); |
case (MAN_BODY): |
case (MAN_BODY): |
p->offset = mt->offset + len; |
p->offset = mt->offset + len; |
p->rmargin = p->maxrmargin; |
p->rmargin = p->maxrmargin > p->offset ? |
|
p->maxrmargin : p->offset; |
p->trailspace = 0; |
p->trailspace = 0; |
p->flags &= ~TERMP_NOBREAK; |
p->flags &= ~TERMP_NOBREAK; |
break; |
break; |
Line 909 pre_RS(DECL_ARGS) |
|
Line 911 pre_RS(DECL_ARGS) |
|
sz = (size_t)ival; |
sz = (size_t)ival; |
|
|
mt->offset += sz; |
mt->offset += sz; |
p->rmargin = p->maxrmargin; |
p->offset = mt->offset; |
p->offset = mt->offset < p->rmargin ? mt->offset : p->rmargin; |
p->rmargin = p->maxrmargin > p->offset ? |
|
p->maxrmargin : p->offset; |
|
|
if (++mt->lmarginsz < MAXMARGINS) |
if (++mt->lmarginsz < MAXMARGINS) |
mt->lmargincur = mt->lmarginsz; |
mt->lmargincur = mt->lmarginsz; |