* texi2mdoc: Add missing p->ign guard for paragraph breaks in parseword();
@ 2018-11-13 9:08 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2018-11-13 9:08 UTC (permalink / raw)
To: source
Log Message:
-----------
Add missing p->ign guard for paragraph breaks in parseword();
bug reported by Michael Forney <mforney at mforney dot org>.
Modified Files:
--------------
texi2mdoc:
util.c
Revision Data
-------------
Index: util.c
===================================================================
RCS file: /home/cvs/mdocml/texi2mdoc/util.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -Lutil.c -Lutil.c -u -p -r1.35 -r1.36
--- util.c
+++ util.c
@@ -728,7 +728,8 @@ parseword(struct texi *p, size_t *pos, c
if (p->seenvs > 0 && 0 == p->literal && TEXILIST_TABLE != p->list) {
if (p->outcol > 0)
fputc('\n', p->outfile);
- fputs(".Pp\n", p->outfile);
+ if (p->ign == 0)
+ fputs(".Pp\n", p->outfile);
p->outcol = 0;
}
--
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-11-13 9:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-13 9:08 texi2mdoc: Add missing p->ign guard for paragraph breaks in parseword(); 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).