diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2013-08-23 19:46:36 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2013-08-23 19:46:36 (GMT) |
commit | ecaa2e3e5c972564b1e961f67e50f1bbde13d4be (patch) | |
tree | fc8648cd3cc4f7c806063f2c1139863441983c6e | |
parent | ed4ed873ab0e7f15116e2052119a6729d4589f7a (diff) | |
download | Doxygen-ecaa2e3e5c972564b1e961f67e50f1bbde13d4be.zip Doxygen-ecaa2e3e5c972564b1e961f67e50f1bbde13d4be.tar.gz Doxygen-ecaa2e3e5c972564b1e961f67e50f1bbde13d4be.tar.bz2 |
Bug 693537 - Create possibility to keep user comments in Doxyfile
-rw-r--r-- | src/config.h | 3 | ||||
-rw-r--r-- | src/config.l | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/config.h b/src/config.h index 7d72f52..3dcf8de 100644 --- a/src/config.h +++ b/src/config.h @@ -22,6 +22,7 @@ #include <qstrlist.h> #include <qdict.h> #include <qlist.h> +#include <qregexp.h> #include "ftextstream.h" @@ -518,7 +519,7 @@ class Config { QCString result=m_userComment; m_userComment.resize(0); - return result; + return result.replace(QRegExp("\r"),""); } protected: diff --git a/src/config.l b/src/config.l index f3b0962..19f0267 100644 --- a/src/config.l +++ b/src/config.l @@ -856,7 +856,7 @@ void Config::writeTemplate(FTextStream &t,bool sl,bool upd) if (m_userComment) { t << "\n"; - t << m_userComment; + t << takeUserComment(); } } |