From d24e4f44c13346f46458695d08f7127174ebc066 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Thu, 9 Jan 2020 20:00:32 +1100 Subject: [PATCH] Fixed typo --- src/libImaging/Draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libImaging/Draw.c b/src/libImaging/Draw.c index dee7c524d..c1f7684ea 100644 --- a/src/libImaging/Draw.c +++ b/src/libImaging/Draw.c @@ -42,7 +42,7 @@ #define INK8(ink) (*(UINT8*)ink) /* - * Rounds around zero (up=away from zero, down=torwards zero) + * Rounds around zero (up=away from zero, down=towards zero) * This guarantees that ROUND_UP|DOWN(f) == -ROUND_UP|DOWN(-f) */ #define ROUND_UP(f) ((int) ((f) >= 0.0 ? floor((f) + 0.5F) : -floor(fabs(f) + 0.5F)))