[paint-extents] Return unbounded on memory allocation failure

pull/4026/head
Behdad Esfahbod 2 years ago
parent 3e1c524e64
commit bf16dad55a
  1. 4
      src/hb-paint-extents.hh

@ -149,9 +149,9 @@ typedef struct hb_transform_t
typedef struct hb_bounds_t
{
enum status_t {
EMPTY,
BOUNDED,
UNBOUNDED,
BOUNDED,
EMPTY,
};
hb_bounds_t (status_t status) : status (status) {}

Loading…
Cancel
Save