[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
|
int cmp (const char *a, unsigned len) const
|
||||||
{
|
{
|
||||||
const char *b = this->language;
|
return strncmp (a, this->language, len);
|
||||||
return strncmp (a, b, len);
|
|
||||||
}
|
}
|
||||||
int cmp (const LangTag *that) const
|
int cmp (const LangTag *that) const
|
||||||
{ return cmp (that->language, strlen (that->language)); }
|
{ return cmp (that->language, strlen (that->language)); }
|
||||||
|
|
Loading…
Reference in New Issue