Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
SDL_ExitProcess() was ignoring exit code parameter.
  • Loading branch information
icculus committed Apr 10, 2012
1 parent a91d7bf commit 24b7ae4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SDL_assert.c
Expand Up @@ -255,9 +255,9 @@ static void SDL_GenerateAssertionReport(void)
static void SDL_ExitProcess(int exitcode)
{
#ifdef __WIN32__
ExitProcess(42);
ExitProcess(exitcode);
#else
_exit(42);
_exit(exitcode);
#endif
}

Expand Down

0 comments on commit 24b7ae4

Please sign in to comment.