summaryrefslogtreecommitdiffstats
path: root/src/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h3
1 files changed, 2 insertions, 1 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: