summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2014-05-02 17:37:59 (GMT)
committeralbert-github <albert.tests@gmail.com>2014-05-02 17:37:59 (GMT)
commitea9f3b1d727b22973c0176b2564304fb160aa70b (patch)
treec70c54ec5d27451faa0aa7772f89ddaa1afa322d /src
parentb944c2af68a47be948f40b37176f9959ffccc0b9 (diff)
downloadDoxygen-ea9f3b1d727b22973c0176b2564304fb160aa70b.zip
Doxygen-ea9f3b1d727b22973c0176b2564304fb160aa70b.tar.gz
Doxygen-ea9f3b1d727b22973c0176b2564304fb160aa70b.tar.bz2
Missing word after \n command in Doxygen rtf output, version 1.8.5 & up
After a \par command no space or new line was present resulting in the joining of the \par with the first word after the \n. Inserting an newline solves this problem
Diffstat (limited to 'src')
-rw-r--r--src/rtfdocvisitor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtfdocvisitor.cpp b/src/rtfdocvisitor.cpp
index 67faf98..b90b5a8 100644
--- a/src/rtfdocvisitor.cpp
+++ b/src/rtfdocvisitor.cpp
@@ -168,7 +168,7 @@ void RTFDocVisitor::visit(DocLineBreak *)
{
if (m_hide) return;
DBG_RTF("{\\comment RTFDocVisitor::visit(DocLineBreak)}\n");
- m_t << "\\par";
+ m_t << "\\par" << endl;
m_lastIsPara=TRUE;
}