summaryrefslogtreecommitdiffstats
path: root/src/htmlgen.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-03-07 21:00:29 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-03-07 21:00:29 (GMT)
commitf12fe31aed103718f5d4c368473302cc6ac82a47 (patch)
treeecc570be1c038ecdb55dda6d9ffe794945151261 /src/htmlgen.cpp
parent5edb3c85109d09e5fa43529bf8b584382f7501a5 (diff)
downloadDoxygen-f12fe31aed103718f5d4c368473302cc6ac82a47.zip
Doxygen-f12fe31aed103718f5d4c368473302cc6ac82a47.tar.gz
Doxygen-f12fe31aed103718f5d4c368473302cc6ac82a47.tar.bz2
Release-1.3.6-20040307
Diffstat (limited to 'src/htmlgen.cpp')
-rw-r--r--src/htmlgen.cpp14
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>"; //&nbsp;";
}
-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\">&nbsp;)&nbsp;</td>" << endl;
+ t << " <td class=\"md\" valign=\"top\">";
+ if (closeBracket) t << "&nbsp;)";
+ t << "&nbsp;</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\">)&nbsp;</td>" << endl;
+ t << " <td class=\"md\">";
+ if (closeBracket) t << ")";
+ t << "&nbsp;</td>" << endl;
t << " <td class=\"md\" colspan=\"2\">";
}
}