diff src/SDL_fatal.c @ 861:863da1c38c7e

Oops, ignore SIGALRM, not 0
author Sam Lantinga <slouken@libsdl.org>
date Thu, 26 Feb 2004 19:57:37 +0000
parents abb915adb1b0
children 51a8702d8ecd
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