From 61cfd1afcb465b5913362981fe66b7db84e58915 Mon Sep 17 00:00:00 2001 From: Ray Date: Mon, 1 Jul 2024 13:05:20 +0200 Subject: Minor tweaks --- src/rshapes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rshapes.c') diff --git a/src/rshapes.c b/src/rshapes.c index 16e80b17..9e7de1e2 100644 --- a/src/rshapes.c +++ b/src/rshapes.c @@ -337,7 +337,7 @@ void DrawCircleSector(Vector2 center, float radius, float startAngle, float endA } // NOTE: In case number of segments is odd, we add one last piece to the cake - if (((unsigned int)segments%2) == 1) + if ((((unsigned int)segments)%2) == 1) { rlColor4ub(color.r, color.g, color.b, color.a); -- cgit v1.2.3