diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2004-03-07 21:00:29 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2004-03-07 21:00:29 (GMT) |
commit | ce05925c34c21ec1d2033970745a86affd039445 (patch) | |
tree | ecc570be1c038ecdb55dda6d9ffe794945151261 /src/htmlgen.cpp | |
parent | f13d78d4dfe3e075e0f91ee8d62603fadf18a3a9 (diff) | |
download | Doxygen-ce05925c34c21ec1d2033970745a86affd039445.zip Doxygen-ce05925c34c21ec1d2033970745a86affd039445.tar.gz Doxygen-ce05925c34c21ec1d2033970745a86affd039445.tar.bz2 |
Release-1.3.6-20040307
Diffstat (limited to 'src/htmlgen.cpp')
-rw-r--r-- | src/htmlgen.cpp | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp index 30d9a5c..66ecb52 100644 --- a/src/htmlgen.cpp +++ b/src/htmlgen.cpp @@ -37,8 +37,8 @@ // #define GROUP_COLOR "#ff8080" -//#define DBG_HTML(x) x; -#define DBG_HTML(x) +#define DBG_HTML(x) x; +//#define DBG_HTML(x) static const char *defaultStyleSheet = "H1 {\n" @@ -1069,7 +1069,7 @@ void HtmlGenerator::startParameterName(bool oneArgOnly) t << "\" nowrap>"; // "; } -void HtmlGenerator::endParameterName(bool last,bool emptyList) +void HtmlGenerator::endParameterName(bool last,bool emptyList,bool closeBracket) { DBG_HTML(t << "<!-- endParameterName -->" << endl;) if (last) @@ -1077,7 +1077,9 @@ void HtmlGenerator::endParameterName(bool last,bool emptyList) if (emptyList) { t << " </td>" << endl; - t << " <td class=\"md\" valign=\"top\"> ) </td>" << endl; + t << " <td class=\"md\" valign=\"top\">"; + if (closeBracket) t << " )"; + t << " </td>" << endl; t << " <td class=\"md\" nowrap>"; } else @@ -1086,7 +1088,9 @@ void HtmlGenerator::endParameterName(bool last,bool emptyList) t << " </tr>" << endl; t << " <tr>" << endl; t << " <td></td>" << endl; - t << " <td class=\"md\">) </td>" << endl; + t << " <td class=\"md\">"; + if (closeBracket) t << ")"; + t << " </td>" << endl; t << " <td class=\"md\" colspan=\"2\">"; } } |