changeset 861:863da1c38c7e

Oops, ignore SIGALRM, not 0
author Sam Lantinga <slouken@libsdl.org>
date Thu, 26 Feb 2004 19:57:37 +0000
parents 2bac79e27868
children f7a8b0ca2ae3
files src/SDL_fatal.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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