Skip to content

Commit 896e2cf

Browse files
committed
Better search criterion for RTF INCLUDETEXT
When combining the internal doxygen documentation noty only the real INCLUDETEXT commands are joined but alsso an attempt is made to do this for the source code lines wheer INCLUDETEXT appears. This is prevented by slightly improving the search criterions.
1 parent 2346371 commit 896e2cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rtfgen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2104,7 +2104,7 @@ static bool preProcessFile(Dir &d,const QCString &infName, TextStream &t, bool b
21042104
{
21052105
line+='\n';
21062106
size_t pos;
2107-
if ((pos=prevLine.find("INCLUDETEXT"))!=std::string::npos)
2107+
if ((pos=prevLine.find("INCLUDETEXT \""))!=std::string::npos)
21082108
{
21092109
size_t startNamePos = prevLine.find('"',pos)+1;
21102110
size_t endNamePos = prevLine.find('"',startNamePos);

0 commit comments

Comments
 (0)