[normalize] Cosmetic

I didn't know this syntax is allowed in old C++.
This commit is contained in:
Behdad Esfahbod 2022-06-19 11:01:45 -06:00
parent b172f88c7d
commit 7ec4a556d9
1 changed files with 1 additions and 2 deletions

View File

@ -143,8 +143,7 @@ decompose (const hb_ot_shape_normalize_context_t *c, bool shortest, hb_codepoint
return 1; return 1;
} }
unsigned int ret; if (unsigned ret = decompose (c, shortest, a)) {
if ((ret = decompose (c, shortest, a))) {
if (b) { if (b) {
output_char (buffer, b, b_glyph); output_char (buffer, b, b_glyph);
return ret + 1; return ret + 1;