source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mandoc: .SY causes a one-column indentation even without any argument
@ 2018-08-18 17:07 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2018-08-18 17:07 UTC (permalink / raw)
  To: source

Log Message:
-----------
.SY causes a one-column indentation even without any argument

Modified Files:
--------------
    mandoc:
        man_term.c

Revision Data
-------------
Index: man_term.c
===================================================================
RCS file: /home/cvs/mandoc/mandoc/man_term.c,v
retrieving revision 1.218
retrieving revision 1.219
diff -Lman_term.c -Lman_term.c -u -p -r1.218 -r1.219
--- man_term.c
+++ man_term.c
@@ -872,7 +872,7 @@ pre_SY(DECL_ARGS)
 	}
 
 	nn = n->parent->head->child;
-	len = nn == NULL ? 0 : term_strlen(p, nn->string) + 1;
+	len = nn == NULL ? 1 : term_strlen(p, nn->string) + 1;
 
 	switch (n->type) {
 	case ROFFT_HEAD:
--
 To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv

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

only message in thread, other threads:[~2018-08-18 17:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-18 17:07 mandoc: .SY causes a one-column indentation even without any argument 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).