Oops, ignore SIGALRM, not 0
authorSam Lantinga <slouken@libsdl.org>
Thu, 26 Feb 2004 19:57:37 +0000
changeset 861 863da1c38c7e
parent 860 2bac79e27868
child 862 f7a8b0ca2ae3
Oops, ignore SIGALRM, not 0
src/SDL_fatal.c
--- a/src/SDL_fatal.c	Thu Feb 26 15:12:51 2004 +0000
+++ b/src/SDL_fatal.c	Thu Feb 26 19:57:37 2004 +0000
@@ -141,7 +141,7 @@
 	sigaction(SIGALRM, NULL, &action);
 	if ( action.sa_handler == SIG_DFL ) {
 		action.sa_handler = SIG_IGN;
-		sigaction(SDL_fatal_signals[i], &action, NULL);
+		sigaction(SIGALRM, &action, NULL);
 	}
 #endif
 #else