Skip to content

Commit

Permalink
RTF improvement: Example section was merged with next function title
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
isanghao committed Sep 11, 2015
1 parent e58fb0a commit ca617e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rtfgen.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit ca617e1

Please sign in to comment.