Skip to content

Commit e32a732

Browse files
authored
Merge pull request #4348 from radarhere/typo
Fixed typo
2 parents 9be505c + d24e4f4 commit e32a732

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libImaging/Draw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
#define INK8(ink) (*(UINT8*)ink)
4343

4444
/*
45-
* Rounds around zero (up=away from zero, down=torwards zero)
45+
* Rounds around zero (up=away from zero, down=towards zero)
4646
* This guarantees that ROUND_UP|DOWN(f) == -ROUND_UP|DOWN(-f)
4747
*/
4848
#define ROUND_UP(f) ((int) ((f) >= 0.0 ? floor((f) + 0.5F) : -floor(fabs(f) + 0.5F)))

0 commit comments

Comments
 (0)