Skip to content

Commit 5e36f42

Browse files
committed
fix: code error correction
1 parent d175a25 commit 5e36f42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ int main(void) {
104104
if(IsMouseButtonPressed(MOUSE_BUTTON_LEFT)) {
105105

106106
// initalize button click flags
107-
for(int i = 0; i < 7; i++)
108-
btnClickFlag[i] = 0;
107+
for(int j = 0; j < 7; j++)
108+
btnClickFlag[j] = 0;
109109

110110
// change the flag corresponding to the clicked button
111111
btnClickFlag[i] = 1;

0 commit comments

Comments
 (0)