summaryrefslogtreecommitdiffhomepage
path: root/src/rshapes.c
diff options
context:
space:
mode:
authorRay <[email protected]>2024-07-01 13:05:20 +0200
committerRay <[email protected]>2024-07-01 13:05:20 +0200
commit61cfd1afcb465b5913362981fe66b7db84e58915 (patch)
treed50f4863e9dc3edb2e5bf23044c6940d0bf54e99 /src/rshapes.c
parentc8313d9ebc428590c7098a75d2db0eed1d877127 (diff)
downloadraylib-61cfd1afcb465b5913362981fe66b7db84e58915.tar.gz
raylib-61cfd1afcb465b5913362981fe66b7db84e58915.zip
Minor tweaks
Diffstat (limited to 'src/rshapes.c')
-rw-r--r--src/rshapes.c2
1 files changed, 1 insertions, 1 deletions
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);