SDL_ExitProcess() was ignoring exit code parameter.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 09 Apr 2012 23:55:43 -0400
changeset 6305601b0e251822
parent 6304 9821f5c9b7bd
child 6307 6048116f40b1
SDL_ExitProcess() was ignoring exit code parameter.
src/SDL_assert.c
     1.1 --- a/src/SDL_assert.c	Sun Apr 08 03:59:36 2012 -0400
     1.2 +++ b/src/SDL_assert.c	Mon Apr 09 23:55:43 2012 -0400
     1.3 @@ -255,9 +255,9 @@
     1.4  static void SDL_ExitProcess(int exitcode)
     1.5  {
     1.6  #ifdef __WIN32__
     1.7 -    ExitProcess(42);
     1.8 +    ExitProcess(exitcode);
     1.9  #else
    1.10 -    _exit(42);
    1.11 +    _exit(exitcode);
    1.12  #endif
    1.13  }
    1.14