forked from nakidai/csnake
Change inputArgs to InputArgs
parent
9dc2da1f90
commit
c7797f1f41
|
@ -7,7 +7,7 @@ typedef struct input_args_t
|
|||
{
|
||||
char *out;
|
||||
bool *alive;
|
||||
} inputArgs;
|
||||
} InputArgs;
|
||||
|
||||
void input(void *vargp);
|
||||
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue