From c460cf74ce2a3ebe5d285e03dc122fb60ff70e01 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 17 May 2022 15:30:11 -0600 Subject: [PATCH] [ot-tags] Cosmetic --- src/hb-ot-tag.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/hb-ot-tag.cc b/src/hb-ot-tag.cc index 980a88583..f7b5dd2f1 100644 --- a/src/hb-ot-tag.cc +++ b/src/hb-ot-tag.cc @@ -221,8 +221,7 @@ struct LangTag int cmp (const char *a, unsigned len) const { - const char *b = this->language; - return strncmp (a, b, len); + return strncmp (a, this->language, len); } int cmp (const LangTag *that) const { return cmp (that->language, strlen (that->language)); }