summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-08-06 09:49:05 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-08-06 09:49:05 (GMT)
commite3793ee222fa6c198d11746535fa0636a65d9ac4 (patch)
tree467fd1c21f98c3d05208a12e9dbb82cb7ea1a6b0
parent77ea778665cbc5ebb004d229897749025c36fdfb (diff)
downloadDoxygen-e3793ee222fa6c198d11746535fa0636a65d9ac4.zip
Doxygen-e3793ee222fa6c198d11746535fa0636a65d9ac4.tar.gz
Doxygen-e3793ee222fa6c198d11746535fa0636a65d9ac4.tar.bz2
Simplified code by passing lineNr directly
-rw-r--r--src/markdown.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/markdown.cpp b/src/markdown.cpp
index 6d9663b..78e6a85 100644
--- a/src/markdown.cpp
+++ b/src/markdown.cpp
@@ -2731,9 +2731,7 @@ void MarkdownOutlineParser::parseInput(const char *fileName,
Protection prot=Public;
bool needsEntry = FALSE;
int position=0;
- int startNewlines=0;
- QCString processedDocs = markdown.process(docs,startNewlines);
- lineNr += startNewlines;
+ QCString processedDocs = markdown.process(docs,lineNr);
while (p->commentScanner.parseCommentBlock(
this,
current.get(),