aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/bookmaker
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bookmaker')
-rw-r--r--tools/bookmaker/includeWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bookmaker/includeWriter.cpp b/tools/bookmaker/includeWriter.cpp
index 66b8b08081..0b77cface0 100644
--- a/tools/bookmaker/includeWriter.cpp
+++ b/tools/bookmaker/includeWriter.cpp
@@ -737,7 +737,7 @@ Definition* IncludeWriter::findMemberCommentBlock(const vector<Definition*>& bmh
}
string match = memberDef->fName;
// if match.endsWith(name) ...
- if (match.length() >= name.length() &&
+ if (match.length() >= name.length() &&
0 == match.compare(match.length() - name.length(), name.length(), name)) {
return memberDef;
}