Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

SDL_ExitProcess() was ignoring exit code parameter.

  • Loading branch information
icculus committed Apr 10, 2012
1 parent a91d7bf commit 24b7ae4cb1cf365454791890ae31bba6729e9a9e

File 1 of 1 in 24b7ae4

@@ -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
}

0 comments on commit 24b7ae4

Please sign in to comment.