From ee0c7d6bc5bc10701805a400c131d0fa7fbbf5bc Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 25 May 2024 12:14:05 -0600 Subject: [PATCH] [geometry] Use && instead of "and" This is not Python. :)) https://github.com/harfbuzz/harfbuzz/pull/4727#issuecomment-2131381810 --- src/hb-geometry.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-geometry.hh b/src/hb-geometry.hh index 5a7698ff2..7777ff9ac 100644 --- a/src/hb-geometry.hh +++ b/src/hb-geometry.hh @@ -140,7 +140,7 @@ struct hb_transform_t void translate (float x, float y) { - if (x == 0.f and y == 0.f) + if (x == 0.f && y == 0.f) return; x0 += xx * x + xy * y;