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

Bug 693537 - Create possibility to keep user comments in Doxyfile

parent ed4ed873
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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:
+1 −1
Original line number Diff line number Diff line
@@ -856,7 +856,7 @@ void Config::writeTemplate(FTextStream &t,bool sl,bool upd)
  if (m_userComment)
  {
    t << "\n";
    t << m_userComment;
    t << takeUserComment();
  }
}