SDL_ExitProcess() was ignoring exit code parameter.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 09 Apr 2012 23:55:43 -0400
changeset 6305 601b0e251822
parent 6304 9821f5c9b7bd
child 6307 6048116f40b1
SDL_ExitProcess() was ignoring exit code parameter.
src/SDL_assert.c
--- a/src/SDL_assert.c	Sun Apr 08 03:59:36 2012 -0400
+++ b/src/SDL_assert.c	Mon Apr 09 23:55:43 2012 -0400
@@ -255,9 +255,9 @@
 static void SDL_ExitProcess(int exitcode)
 {
 #ifdef __WIN32__
-    ExitProcess(42);
+    ExitProcess(exitcode);
 #else
-    _exit(42);
+    _exit(exitcode);
 #endif
 }