From: Holger Schemel Date: Tue, 8 Dec 2015 11:34:53 +0000 (+0100) Subject: changed signal handling to not catch Ctrl-C anymore X-Git-Tag: 4.0.0.0-rc1~115 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=41e90d372da4d7f7e01d1fe4561ca6ba45481ba1 changed signal handling to not catch Ctrl-C anymore --- diff --git a/src/libgame/system.c b/src/libgame/system.c index b04cd9b5..b5e4f270 100644 --- a/src/libgame/system.c +++ b/src/libgame/system.c @@ -118,7 +118,7 @@ void InitExitFunction(void (*exit_function)(int)) program.exit_function = exit_function; /* set signal handlers to custom exit function */ - signal(SIGINT, exit_function); + // signal(SIGINT, exit_function); signal(SIGTERM, exit_function); /* set exit function to automatically cleanup SDL stuff after exit() */