We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a31124 commit 0926ce3Copy full SHA for 0926ce3
examples/bunny.f90
@@ -39,7 +39,7 @@ program main
39
if (is_mouse_button_down(MOUSE_BUTTON_LEFT)) then
40
! Create more bunnies.
41
do i = 1, 100
42
- if (nbunnies > MAX_BUNNIES) exit
+ if (nbunnies >= MAX_BUNNIES) exit
43
nbunnies = nbunnies + 1
44
45
bunnies(nbunnies)%position = get_mouse_position()
0 commit comments