summaryrefslogtreecommitdiffstats
path: root/src/memberlist.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2009-06-22 20:14:03 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2009-06-22 20:14:03 (GMT)
commitb70a5b4f9325ec703db37394feeaa9ebc11228b4 (patch)
tree2f918f7da3205101b2a8a300ee9afefe247b3f24 /src/memberlist.cpp
parent8375a55083e5232e65493e73cb594c9c5e9552ab (diff)
downloadDoxygen-b70a5b4f9325ec703db37394feeaa9ebc11228b4.zip
Doxygen-b70a5b4f9325ec703db37394feeaa9ebc11228b4.tar.gz
Doxygen-b70a5b4f9325ec703db37394feeaa9ebc11228b4.tar.bz2
Release-1.5.9-20090622
Diffstat (limited to 'src/memberlist.cpp')
-rw-r--r--src/memberlist.cpp14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/memberlist.cpp b/src/memberlist.cpp
index 8e8c93c..8091362 100644
--- a/src/memberlist.cpp
+++ b/src/memberlist.cpp
@@ -342,12 +342,16 @@ void MemberList::writeDeclarations(OutputList &ol,
ol.parseText(title);
ol.endMemberHeader();
}
- if (subtitle && subtitle[0]!=0)
+ if (subtitle)
{
- //printf("subtitle=`%s'\n",subtitle);
- ol.startMemberSubtitle();
- ol.parseDoc("[generated]",-1,ctx,0,subtitle,FALSE,FALSE);
- ol.endMemberSubtitle();
+ QCString st=subtitle;
+ st = st.stripWhiteSpace();
+ if (!st.isEmpty())
+ {
+ ol.startMemberSubtitle();
+ ol.parseDoc("[generated]",-1,ctx,0,subtitle,FALSE,FALSE);
+ ol.endMemberSubtitle();
+ }
}
// TODO: Two things need to be worked out for proper VHDL output: