diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2005-04-21 21:10:51 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2005-04-21 21:10:51 (GMT) |
commit | 4a8c2f5c896a1883a0611d972952a68498002ae5 (patch) | |
tree | 81218085d3e6e15b1ce6c418734013d48e9deda8 /src/definition.cpp | |
parent | 570375c30adbdb66714d465d849b18e0df9dd6e6 (diff) | |
download | Doxygen-4a8c2f5c896a1883a0611d972952a68498002ae5.zip Doxygen-4a8c2f5c896a1883a0611d972952a68498002ae5.tar.gz Doxygen-4a8c2f5c896a1883a0611d972952a68498002ae5.tar.bz2 |
Release-1.4.2-20050421
Diffstat (limited to 'src/definition.cpp')
-rw-r--r-- | src/definition.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/definition.cpp b/src/definition.cpp index 64db73d..ad35e26 100644 --- a/src/definition.cpp +++ b/src/definition.cpp @@ -177,9 +177,10 @@ void Definition::setDocumentation(const char *d,const char *docFile,int docLine, { if (d==0) return; //printf("Definition::setDocumentation(%s,%s,%d,%d)\n",d,docFile,docLine,stripWhiteSpace); - QCString doc; + QCString doc = d; if (stripWhiteSpace) { +#if 0 // strip leading empty lines in front of the text, but not the // leading spaces in front of the first line, so list items are // parsed with the correct indent @@ -201,6 +202,8 @@ void Definition::setDocumentation(const char *d,const char *docFile,int docLine, doc.at(e)='\0'; e--; } +#endif + doc = stripLeadingAndTrailingEmptyLines(doc); } else // don't strip whitespace { |