mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 06:51:01 +01:00
[ot-tags] Cosmetic
This commit is contained in:
1 parent
1c8226ed14
commit
c460cf74ce
1 file changed
+1
-2
+1
-2
@@ -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)); }
|
||||
|
||||
Reference in new issue
Block a user