From d632ec4000b3079150e6424e88a3ab7509f7445c Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 22 Apr 2010 18:33:12 -0400 Subject: [PATCH] Cosmetic --- src/hb-open-type-private.hh | 6 +++--- src/hb-ot-layout-gsubgpos-private.hh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/hb-open-type-private.hh b/src/hb-open-type-private.hh index 2ef124a..3a89425 100644 --- a/src/hb-open-type-private.hh +++ b/src/hb-open-type-private.hh @@ -61,10 +61,10 @@ inline Type& Cast(TObject &X) * location of X plus Ofs bytes. */ template inline const Type& StructAtOffset(const TObject &X, unsigned int offset) -{ return * reinterpret_cast (CharP (&X) + offset); } +{ return * reinterpret_cast (CharP(&X) + offset); } template inline Type& StructAtOffset(TObject &X, unsigned int offset) -{ return * reinterpret_cast (CharP (&X) + offset); } +{ return * reinterpret_cast (CharP(&X) + offset); } /* StructAfter(X) returns the struct T& that is placed after X. * Works with X of variable size also. X must implement get_size() */ @@ -144,7 +144,7 @@ ASSERT_STATIC (sizeof (Type) + 1 <= sizeof (_Null##Type)) HB_STMT_START { \ if (sanitize_depth < HB_DEBUG_SANITIZE) \ fprintf (stderr, "SANITIZE(%p) %-*d-> %s\n", \ - (CharP (this) == CharP (&NullPool)) ? 0 : this, \ + (CharP(this) == CharP(&NullPool)) ? 0 : this, \ sanitize_depth, sanitize_depth, \ __PRETTY_FUNCTION__); \ } HB_STMT_END diff --git a/src/hb-ot-layout-gsubgpos-private.hh b/src/hb-ot-layout-gsubgpos-private.hh index aceb3b6..74d9b04 100644 --- a/src/hb-ot-layout-gsubgpos-private.hh +++ b/src/hb-ot-layout-gsubgpos-private.hh @@ -44,7 +44,7 @@ HB_STMT_START { \ if (apply_depth < HB_DEBUG_APPLY) \ fprintf (stderr, "APPLY(%p) %-*d-> %s\n", \ - (CharP (this) == CharP (&NullPool)) ? 0 : this, \ + (CharP(this) == CharP(&NullPool)) ? 0 : this, \ apply_depth, apply_depth, \ __PRETTY_FUNCTION__); \ } HB_STMT_END -- 2.7.4