mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-10 07:18:39 +00:00
[open-type] Another tweak to cmp()
Again, unlikely that compiler cares.
This commit is contained in:
parent
c68df817a6
commit
f5e50890d0
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ struct IntType
|
|||
int cmp (Type2 a) const
|
||||
{
|
||||
Type b = v;
|
||||
return a < b ? -1 : a == b ? 0 : +1;
|
||||
return (a > b) - (a < b);
|
||||
}
|
||||
bool sanitize (hb_sanitize_context_t *c) const
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue