Commit ecaa2e3e authored by Dimitri van Heesch's avatar Dimitri van Heesch

Bug 693537 - Create possibility to keep user comments in Doxyfile

parent ed4ed873
......@@ -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:
......
......@@ -856,7 +856,7 @@ void Config::writeTemplate(FTextStream &t,bool sl,bool upd)
if (m_userComment)
{
t << "\n";
t << m_userComment;
t << takeUserComment();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment