From 4fadb3023026bbf8f952513897ffbe4b654a113e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Wed, 8 Jun 2005 16:03:00 +0000 Subject: [PATCH] Fixed --> when at least two call forms are listed (thanks to axeld for reporting this) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13015 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/tools/rman/rman.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/tools/rman/rman.c b/src/tools/rman/rman.c index a064aee97f..49bb7701a5 100644 --- a/src/tools/rman/rman.c +++ b/src/tools/rman/rman.c @@ -1546,6 +1546,7 @@ XML(enum command cmd) { char *p; static int fRefEntry=0; static int fRefPurpose=0; + static int fSynopsisFirst=0; /*static char *bads => XML doesn't backslash-quote metacharacters */ /* @@ -1665,7 +1666,7 @@ XML(enum command cmd) { case BEGINSECTION: if (sectheadid==NAME) printf(""); + case BEGINBOLD: if (sectheadid==SYNOPSIS && fSynopsisFirst) { fSynopsisFirst = 0; printf("-->"); } printf(""); break; case ENDBOLD: printf(""); break; case BEGINITALICS: printf(""); break; /* could be literal or arg */