forked from nakidai/csnake
1
0
Fork 0

Change inputArgs to InputArgs

master
Nakidai 2023-10-29 22:35:37 +03:00
parent 9dc2da1f90
commit c7797f1f41
Signed by untrusted user who does not match committer: nakidai
GPG Key ID: 914675D395210A97
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ typedef struct input_args_t
{
char *out;
bool *alive;
} inputArgs;
} InputArgs;
void input(void *vargp);

View File

@ -23,8 +23,8 @@ char getch(void)
void input(void *vargp)
{
char *out = ((inputArgs *)vargp)->out;
bool *alive = ((inputArgs *)vargp)->alive;
char *out = ((InputArgs *)vargp)->out;
bool *alive = ((InputArgs *)vargp)->alive;
while (*alive)
{