summaryrefslogtreecommitdiff
path: root/sfntly/table/bitmap/bitmap_glyph_info.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sfntly/table/bitmap/bitmap_glyph_info.cc')
-rw-r--r--sfntly/table/bitmap/bitmap_glyph_info.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfntly/table/bitmap/bitmap_glyph_info.cc b/sfntly/table/bitmap/bitmap_glyph_info.cc
index ab9953b..a299b3e 100644
--- a/sfntly/table/bitmap/bitmap_glyph_info.cc
+++ b/sfntly/table/bitmap/bitmap_glyph_info.cc
@@ -52,7 +52,7 @@ bool BitmapGlyphInfo::operator==(const BitmapGlyphInfo& rhs) const {
bool BitmapGlyphInfo::operator==(BitmapGlyphInfo* rhs) {
if (rhs == NULL) {
- return this == NULL;
+ return false; // Well defined C++ code's this is always not null.
}
return (format_ == rhs->format() &&
glyph_id_ == rhs->glyph_id() &&