From bf16dad55aac9225a7b857a392267959600568e0 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 10 Jan 2023 17:29:25 -0700 Subject: [PATCH] [paint-extents] Return unbounded on memory allocation failure --- src/hb-paint-extents.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-paint-extents.hh b/src/hb-paint-extents.hh index 814dabfe9..b6323eedd 100644 --- a/src/hb-paint-extents.hh +++ b/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) {}