mirror of
https://github.com/encounter/SDL.git
synced 2025-12-13 07:06:10 +00:00
Make the signal handler hint more generic.
This commit is contained in:
@@ -49,7 +49,7 @@ SDL_HandleSIG(int sig)
|
||||
int
|
||||
SDL_QuitInit(void)
|
||||
{
|
||||
const char *hint = SDL_GetHint(SDL_HINT_DISABLE_SIGINT_HANDLER);
|
||||
const char *hint = SDL_GetHint(SDL_HINT_NO_SIGNAL_HANDLERS);
|
||||
disable_signals = hint && (SDL_atoi(hint) == 1);
|
||||
if (disable_signals) {
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user