mirror of
https://git.sr.ht/~rabbits/uxn
synced 2024-11-28 00:33:02 +00:00
Renamed function
This commit is contained in:
parent
7b5ad795f8
commit
eb8c803b35
1 changed files with 2 additions and 2 deletions
|
@ -330,7 +330,7 @@ nil_talk(Device *d, Uint8 b0, Uint8 w)
|
||||||
#pragma mark - Generics
|
#pragma mark - Generics
|
||||||
|
|
||||||
static int
|
static int
|
||||||
in_reader(void *p)
|
stdin_handler(void *p)
|
||||||
{
|
{
|
||||||
SDL_Event event;
|
SDL_Event event;
|
||||||
event.type = stdin_event;
|
event.type = stdin_event;
|
||||||
|
@ -403,7 +403,7 @@ main(int argc, char **argv)
|
||||||
zoom = 2;
|
zoom = 2;
|
||||||
|
|
||||||
stdin_event = SDL_RegisterEvents(1);
|
stdin_event = SDL_RegisterEvents(1);
|
||||||
SDL_CreateThread(in_reader, "stdin", NULL);
|
SDL_CreateThread(stdin_handler, "stdin", NULL);
|
||||||
|
|
||||||
if(argc < 2)
|
if(argc < 2)
|
||||||
return error("Input", "Missing");
|
return error("Input", "Missing");
|
||||||
|
|
Loading…
Reference in a new issue