From ca617e1e1cd42ee0080c8c13ce3884c8671629dd Mon Sep 17 00:00:00 2001 From: MinGyu Kim Date: Fri, 11 Sep 2015 12:04:17 +0900 Subject: [PATCH] RTF improvement: Example section was merged with next function title Example section lacked of new paragraph(\par) because writeExample set m_omitParagraph = TRUE When the output file was open in MS word, example file name was followed by function title in the same line. --- src/rtfgen.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp index 811efd8e578..749f57bceb1 100644 --- a/src/rtfgen.cpp +++ b/src/rtfgen.cpp @@ -2697,6 +2697,7 @@ void RTFGenerator::startSimpleSect(SectionTypes,const char *file,const char *anc void RTFGenerator::endSimpleSect() { DBG_RTF(t << "{\\comment (endSimpleSect)}" << endl) + m_omitParagraph = FALSE; newParagraph(); decrementIndentLevel(); m_omitParagraph = TRUE;