diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-06 14:59:21 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-06 14:59:21 +0000 |
commit | 3659cf8ba988c65563a22589e56fcd2c7ca01330 (patch) | |
tree | 3f4a484cc7d7a77043f3355137cd5059c09e12de /man_term.c | |
parent | 5559a4a725d33a4f913276cda2e8e9b9b847765b (diff) | |
download | mandoc-3659cf8ba988c65563a22589e56fcd2c7ca01330.tar.gz |
On a new RS nesting level, the saved width starts from the default
width, not from the saved width of the previous level.
Improves xterm(1) and XSetEventQueueOwner(3); found in transcode_filter(1).
Diffstat (limited to 'man_term.c')
-rw-r--r-- | man_term.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -895,7 +895,7 @@ pre_RS(DECL_ARGS) if (++mt->lmarginsz < MAXMARGINS) mt->lmargincur = mt->lmarginsz; - mt->lmargin[mt->lmargincur] = mt->lmargin[mt->lmargincur - 1]; + mt->lmargin[mt->lmargincur] = term_len(p, p->defindent); return(1); } |