diff options
author | Cary Clark <caryclark@skia.org> | 2018-02-20 12:50:35 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-02-20 18:10:33 +0000 |
commit | 300cc5b5c1e11ecaaeb3e6937605da09fb3555e5 (patch) | |
tree | 281b8e942e086a871c19c7e3ec54de681e61c868 /tools/bookmaker | |
parent | 24889c90d2c53adba9b51ed354b846d42737529c (diff) |
fix IRect doc
Florin pointed out docs that used SkPoint where
SkIPoint was intended. This was caused by the
original documentation guessing that 'points'
referred to one and not the other.
For now, use IPoint explicitly in the documentation
to get around this.
Docs-Preview: https://skia.org/?cl=108569
Bug: skia:6898
Change-Id: I12bac1d4cf82a614bee98895f12e4f99add2dbd7
Reviewed-on: https://skia-review.googlesource.com/108569
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'tools/bookmaker')
-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; } |