* mdocml: Fix a bug that slip in: PAIR_XXXX macros expanded to run the
@ 2011-04-04 16:44 kristaps
0 siblings, 0 replies; only message in thread
From: kristaps @ 2011-04-04 16:44 UTC (permalink / raw)
To: source
Log Message:
-----------
Fix a bug that slip in: PAIR_XXXX macros expanded to run the increment
twice.
Modified Files:
--------------
mdocml:
mdoc_html.c
Revision Data
-------------
Index: mdoc_html.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mdoc_html.c,v
retrieving revision 1.160
retrieving revision 1.161
diff -Lmdoc_html.c -Lmdoc_html.c -u -p -r1.160 -r1.161
--- mdoc_html.c
+++ mdoc_html.c
@@ -1733,7 +1733,8 @@ mdoc_in_pre(MDOC_ARGS)
if (h->base_includes) {
buffmt_includes(h, n->string);
- PAIR_HREF_INIT(&tag[i++], h->buf);
+ PAIR_HREF_INIT(&tag[i], h->buf);
+ i++;
}
t = print_otag(h, TAG_A, i, tag);
--
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:[~2011-04-04 16:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-04 16:44 mdocml: Fix a bug that slip in: PAIR_XXXX macros expanded to run the kristaps
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).