commit | 39c132a62d57d736971fe16e1e47817e443df4f0 | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <[email protected]> | Fri Jun 10 07:12:39 2022 -0600 |
committer | Behdad Esfahbod <[email protected]> | Fri Jun 10 07:12:39 2022 -0600 |
tree | 8255551f4d4ee07854bc0ddea7ee1dafc4547955 | |
parent | a5bcd8567fc42442510b3838b4be925fa1a45288 [diff] [blame] |
[indic/myanmar] Simplify compare functions
diff --git a/src/hb-ot-shaper-indic.cc b/src/hb-ot-shaper-indic.cc index 717fbb0..33f1ed9 100644 --- a/src/hb-ot-shaper-indic.cc +++ b/src/hb-ot-shaper-indic.cc
@@ -461,7 +461,7 @@ int a = pa->indic_position(); int b = pb->indic_position(); - return a < b ? -1 : a == b ? 0 : +1; + return (int) a - (int) b; }