source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: On a new RS nesting level, the saved width starts from the
@ 2015-04-06 14:59 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2015-04-06 14:59 UTC (permalink / raw)
  To: source

Log Message:
-----------
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).

Modified Files:
--------------
    mdocml:
        man_term.c

Revision Data
-------------
Index: man_term.c
===================================================================
RCS file: /home/cvs/mdocml/mdocml/man_term.c,v
retrieving revision 1.177
retrieving revision 1.178
diff -Lman_term.c -Lman_term.c -u -p -r1.177 -r1.178
--- man_term.c
+++ man_term.c
@@ -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);
 }
 
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-06 14:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-06 14:59 mdocml: On a new RS nesting level, the saved width starts from the schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).