summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2010-04-20 23:50:45 -0400
committerBehdad Esfahbod <behdad@behdad.org>2010-04-20 23:50:45 -0400
commitb11755c2f68d0dfe1dac7a7bce29defa25255bc9 (patch)
tree77f212915055081de7d49e557e25c2120053a25c
parent5453f4b097811e31e8205d3729bee1fc97d2e541 (diff)
downloadpango-b11755c2f68d0dfe1dac7a7bce29defa25255bc9.tar.gz
[HB] Cosmetic
-rw-r--r--pango/opentype/hb-open-type-private.hh8
-rw-r--r--pango/opentype/hb-ot-layout-common-private.hh6
2 files changed, 7 insertions, 7 deletions
diff --git a/pango/opentype/hb-open-type-private.hh b/pango/opentype/hb-open-type-private.hh
index ea6ba5b4..590b0d98 100644
--- a/pango/opentype/hb-open-type-private.hh
+++ b/pango/opentype/hb-open-type-private.hh
@@ -346,7 +346,7 @@ struct Sanitizer
{ \
inline NAME& set (TYPE i) { (TYPE&) v = BIG_ENDIAN (i); return *this; } \
inline operator TYPE(void) const { return BIG_ENDIAN ((TYPE&) v); } \
- inline bool operator== (const NAME &o) const { return (TYPE&) v == (TYPE&) o.v; } \
+ inline bool operator == (const NAME &o) const { return (TYPE&) v == (TYPE&) o.v; } \
inline bool sanitize (SANITIZE_ARG_DEF) { \
TRACE_SANITIZE (); \
return SANITIZE_SELF (); \
@@ -361,7 +361,7 @@ struct Sanitizer
static inline unsigned int get_size () { return BYTES; } \
inline NAME& set (TYPE i) { BIG_ENDIAN##_put_unaligned(v, i); return *this; } \
inline operator TYPE(void) const { return BIG_ENDIAN##_get_unaligned (v); } \
- inline bool operator== (const NAME &o) const { return BIG_ENDIAN##_cmp_unaligned (v, o.v); } \
+ inline bool operator == (const NAME &o) const { return BIG_ENDIAN##_cmp_unaligned (v, o.v); } \
inline bool sanitize (SANITIZE_ARG_DEF) { \
TRACE_SANITIZE (); \
return SANITIZE_SELF (); \
@@ -386,7 +386,7 @@ struct Tag : ULONG
inline Tag (const Tag &o) { *(ULONG*)this = (ULONG&) o; }
inline Tag (uint32_t i) { (*(ULONG*)this).set (i); }
inline Tag (const char *c) { *(ULONG*)this = *(ULONG*)c; }
- inline bool operator== (const char *c) const { return *(ULONG*)this == *(ULONG*)c; }
+ inline bool operator == (const char *c) const { return *(ULONG*)this == *(ULONG*)c; }
/* What the char* converters return is NOT nul-terminated. Print using "%.4s" */
inline operator const char* (void) const { return CONST_CHARP(this); }
inline operator char* (void) { return CHARP(this); }
@@ -459,7 +459,7 @@ ASSERT_SIZE (FixedVersion, 4);
template <typename OffsetType, typename Type>
struct GenericOffsetTo : OffsetType
{
- inline const Type& operator() (const void *base) const
+ inline const Type& operator () (const void *base) const
{
unsigned int offset = *this;
if (HB_UNLIKELY (!offset)) return Null(Type);
diff --git a/pango/opentype/hb-ot-layout-common-private.hh b/pango/opentype/hb-ot-layout-common-private.hh
index e3171e36..2cb59d64 100644
--- a/pango/opentype/hb-ot-layout-common-private.hh
+++ b/pango/opentype/hb-ot-layout-common-private.hh
@@ -410,7 +410,7 @@ ASSERT_SIZE (CoverageFormat2, 4);
struct Coverage
{
- inline unsigned int operator() (hb_codepoint_t glyph_id) const { return get_coverage (glyph_id); }
+ inline unsigned int operator () (hb_codepoint_t glyph_id) const { return get_coverage (glyph_id); }
inline unsigned int get_coverage (hb_codepoint_t glyph_id) const
{
@@ -528,7 +528,7 @@ ASSERT_SIZE (ClassDefFormat2, 4);
struct ClassDef
{
- inline hb_ot_layout_class_t operator() (hb_codepoint_t glyph_id) const { return get_class (glyph_id); }
+ inline hb_ot_layout_class_t operator () (hb_codepoint_t glyph_id) const { return get_class (glyph_id); }
inline hb_ot_layout_class_t get_class (hb_codepoint_t glyph_id) const
{
@@ -564,7 +564,7 @@ struct ClassDef
struct Device
{
- inline int operator() (unsigned int ppem_size) const { return get_delta (ppem_size); }
+ inline int operator () (unsigned int ppem_size) const { return get_delta (ppem_size); }
inline int get_delta (unsigned int ppem_size) const
{