aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sources/shiboken2/ApiExtractor/typesystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken2/ApiExtractor/typesystem.cpp b/sources/shiboken2/ApiExtractor/typesystem.cpp
index baaec6d30..8e0e4437a 100644
--- a/sources/shiboken2/ApiExtractor/typesystem.cpp
+++ b/sources/shiboken2/ApiExtractor/typesystem.cpp
@@ -301,7 +301,7 @@ bool Handler::endElement(const QStringRef &localName)
m_currentDroppedEntry = 0;
m_currentDroppedEntryDepth = 0;
} else {
- ++m_currentDroppedEntryDepth;
+ --m_currentDroppedEntryDepth;
}
return true;
}