aboutsummaryrefslogtreecommitdiff
path: root/Source/Doxygen/pydoc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Doxygen/pydoc.cxx')
-rw-r--r--Source/Doxygen/pydoc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Doxygen/pydoc.cxx b/Source/Doxygen/pydoc.cxx
index 688318dd9..3eb855058 100644
--- a/Source/Doxygen/pydoc.cxx
+++ b/Source/Doxygen/pydoc.cxx
@@ -498,7 +498,7 @@ void PyDocConverter::handleCode(DoxygenEntity &tag, std::string &translatedComme
translatedComment += ".. code-block:: c++\n\n";
// For now on, use extra indent level for all the subsequent lines.
- codeIndent += m_indent;
+ codeIndent = m_indent;
std::string code;
handleTagVerbatim(tag, code, arg);