diff --git a/examples/shapes/shapes_particles.c b/examples/shapes/shapes_simple_particles.c
similarity index 99%
rename from examples/shapes/shapes_particles.c
rename to examples/shapes/shapes_simple_particles.c
index 5e3d74fc8..aae85f35d 100644
--- a/examples/shapes/shapes_particles.c
+++ b/examples/shapes/shapes_simple_particles.c
@@ -1,6 +1,6 @@
/*******************************************************************************************
*
-* raylib [shapes] example - particles
+* raylib [shapes] example - simple particles
*
* Example complexity rating: [★☆☆☆] 1/4
*
@@ -256,7 +256,7 @@ static void UpdateParticles(CircularBuffer *circularBuffer, int screenWidth, int
static void UpdateCircularBuffer(CircularBuffer *circularBuffer)
{
// Update circular buffer: advance tail over dead particles
- while (circularBuffer->tail != circularBuffer->head &&
+ while ((circularBuffer->tail != circularBuffer->head) &&
!circularBuffer->buffer[circularBuffer->tail].alive)
{
circularBuffer->tail = (circularBuffer->tail + 1)%MAX_PARTICLES;
diff --git a/projects/VS2022/examples/shapes_particles.vcxproj b/projects/VS2022/examples/shapes_simple_particles.vcxproj
similarity index 99%
rename from projects/VS2022/examples/shapes_particles.vcxproj
rename to projects/VS2022/examples/shapes_simple_particles.vcxproj
index 84ac46d4a..8a5270503 100644
--- a/projects/VS2022/examples/shapes_particles.vcxproj
+++ b/projects/VS2022/examples/shapes_simple_particles.vcxproj
@@ -53,9 +53,9 @@
{497FDF54-9762-4048-A833-61CC3980A0FB}
Win32Proj
- shapes_particles
+ shapes_simple_particles
10.0
- shapes_particles
+ shapes_simple_particles
@@ -553,7 +553,7 @@
-
+
diff --git a/projects/VS2022/raylib.sln b/projects/VS2022/raylib.sln
index a3297045f..36f20500c 100644
--- a/projects/VS2022/raylib.sln
+++ b/projects/VS2022/raylib.sln
@@ -371,7 +371,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "shapes_recursive_tree", "ex
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "shapes_triangle_strip", "examples\shapes_triangle_strip.vcxproj", "{2CCCD9E4-9058-4291-BD89-39C979F0CA1E}"
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "shapes_particles", "examples\shapes_particles.vcxproj", "{6B1A933E-71B8-4C1F-9E79-02D98830E671}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "shapes_simple_particles", "examples\shapes_simple_particles.vcxproj", "{6B1A933E-71B8-4C1F-9E79-02D98830E671}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution