Merge pull request #4348 from radarhere/typo

Fixed typo
This commit is contained in:
Hugo van Kemenade 2020-01-12 22:38:26 +02:00 committed by GitHub
commit e32a732787
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@
#define INK8(ink) (*(UINT8*)ink) #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) * 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))) #define ROUND_UP(f) ((int) ((f) >= 0.0 ? floor((f) + 0.5F) : -floor(fabs(f) + 0.5F)))