summaryrefslogtreecommitdiff
path: root/tools/doc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/doc')
-rw-r--r--tools/doc/doc_data.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/doc/doc_data.cpp b/tools/doc/doc_data.cpp
index c278662db2..b3eb6b08f7 100644
--- a/tools/doc/doc_data.cpp
+++ b/tools/doc/doc_data.cpp
@@ -59,6 +59,9 @@ void DocData::merge_from(const DocData& p_data) {
if (cf.methods[j].name!=m.name)
continue;
+ if (cf.methods[j].arguments.size()!=m.arguments.size())
+ continue;
+
const MethodDoc &mf = cf.methods[j];
m.description=mf.description;