version 1.23, 2021/08/10 12:55:04 |
version 1.25, 2023/04/28 19:11:04 |
|
|
/* $OpenBSD$ */ |
/* $Id$ */ |
/* |
/* |
* Copyright (c) 2010,2014,2015,2017-2020 Ingo Schwarze <schwarze@openbsd.org> |
* Copyright (c) 2010,2014,2015,2017-2020 Ingo Schwarze <schwarze@openbsd.org> |
* |
* |
Line 175 roff_term_pre_po(ROFF_TERM_ARGS) |
|
Line 175 roff_term_pre_po(ROFF_TERM_ARGS) |
|
} else |
} else |
ponew = polast; |
ponew = polast; |
|
|
/* Remeber both the previous and the newly requested offset. */ |
/* Remember both the previous and the newly requested offset. */ |
polast = po; |
polast = po; |
po = ponew; |
po = ponew; |
|
|
/* Truncate to the range [-offset, 60], remember, and apply it. */ |
/* Truncate to the range [-offset, 60], remember, and apply it. */ |
pouse = po >= 60 ? 60 : |
pouse = po >= 60 ? 60 : |
po < -(int)p->tcol->offset ? -p->tcol->offset : po; |
po < -(int)p->tcol->offset ? -(int)p->tcol->offset : po; |
p->tcol->offset += pouse; |
p->tcol->offset += pouse; |
} |
} |
|
|