minor spacing tweak

This commit is contained in:
Ebrahim Byagowi 2020-07-29 08:33:32 +04:30
parent 48ad745996
commit 5a7cc7fd8b
10 changed files with 147 additions and 151 deletions

View File

@ -315,9 +315,8 @@ hb_subset_plan_create (hb_face_t *face,
hb_subset_input_t *input) hb_subset_input_t *input)
{ {
hb_subset_plan_t *plan; hb_subset_plan_t *plan;
if (unlikely (!(plan = hb_object_create<hb_subset_plan_t> ()))) { if (unlikely (!(plan = hb_object_create<hb_subset_plan_t> ())))
return const_cast<hb_subset_plan_t *> (&Null (hb_subset_plan_t)); return const_cast<hb_subset_plan_t *> (&Null (hb_subset_plan_t));
}
plan->successful = true; plan->successful = true;
plan->drop_hints = input->drop_hints; plan->drop_hints = input->drop_hints;

View File

@ -90,10 +90,7 @@ struct hb_subset_plan_t
public: public:
bool in_error () const bool in_error () const { return !successful; }
{
return !successful;
}
/* /*
* The set of input glyph ids which will be retained in the subset. * The set of input glyph ids which will be retained in the subset.