]> skyeroc.xyz Git - dgamelaunch/commitdiff
Reset SIGWINCH to default before starting game to prevent that window resizes
authorJilles Tjoelker <jilles@stack.nl>
Tue, 6 Jan 2004 14:27:56 +0000 (14:27 +0000)
committerJilles Tjoelker <jilles@stack.nl>
Tue, 6 Jan 2004 14:27:56 +0000 (14:27 +0000)
during play cause disconnects.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@110 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

dgamelaunch.c

index 4d523f223f85f929c2024cf214f2b1e48594aa10..c8ee8cae2d0ed9c93fb73d275d370581483f35f9 100644 (file)
@@ -1439,6 +1439,7 @@ main (int argc, char** argv)
   purge_stale_locks ();
 
   endwin ();
+  signal(SIGWINCH, SIG_DFL);
 
   /* environment */
   snprintf (atrcfilename, 81, "@%s", rcfilename);