Remove MIN/MAX in favor of hb_min/hb_max
diff --git a/src/hb-array.hh b/src/hb-array.hh
index 37ca63d..2da8df0 100644
--- a/src/hb-array.hh
+++ b/src/hb-array.hh
@@ -143,7 +143,7 @@
}
void qsort (unsigned int start, unsigned int end)
{
- end = MIN (end, length);
+ end = hb_min (end, length);
assert (start <= end);
if (likely (start < end))
::qsort (arrayZ + start, end - start, this->item_size, Type::cmp);
@@ -166,7 +166,7 @@
else
count -= start_offset;
if (seg_count)
- count = *seg_count = MIN (count, *seg_count);
+ count = *seg_count = hb_min (count, *seg_count);
return hb_array_t<Type> (arrayZ + start_offset, count);
}
hb_array_t<Type> sub_array (unsigned int start_offset, unsigned int seg_count) const