[ot-tags] Cosmetic

This commit is contained in:
Behdad Esfahbod 2022-05-17 15:30:11 -06:00
parent 1c8226ed14
commit c460cf74ce
1 changed files with 1 additions and 2 deletions

View File

@ -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)); }