diff options
Diffstat (limited to 'tools/bookmaker/includeWriter.cpp')
-rw-r--r-- | tools/bookmaker/includeWriter.cpp | 2 |
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; } |