fix build attempt ^4
authorMichiharu Ariza <ariza@adobe.com>
Mon, 22 Oct 2018 23:37:39 +0000 (16:37 -0700)
committerMichiharu Ariza <ariza@adobe.com>
Mon, 22 Oct 2018 23:37:39 +0000 (16:37 -0700)
src/hb-ot-cff-common.hh

index aa48d7a..a7ff197 100644 (file)
@@ -380,11 +380,8 @@ struct Remap : hb_vector_t<hb_codepoint_t>
     return true;
   }
 
-  inline bool includes (hb_codepoint_t id) const
-  { return (id < len) && ((*this)[id] != CFF_UNDEF_CODE); }
-
   inline bool excludes (hb_codepoint_t id) const
-  { return !includes (id); }
+  { return (id < len) && ((*this)[id] == CFF_UNDEF_CODE); }
 
   inline hb_codepoint_t operator[] (hb_codepoint_t i) const
   {