[ot-tags] Cosmetic
This commit is contained in:
parent
1c8226ed14
commit
c460cf74ce
|
@ -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)); }
|
||||
|
|
Loading…
Reference in New Issue