[chocolate-doom] 02/79: Catch SDL_QUIT event on ENDOOM display

Jonathan Dowland jmtd at moszumanska.debian.org
Mon Jan 30 15:07:18 UTC 2017


This is an automated email from the git hooks/post-receive script.

jmtd pushed a commit to annotated tag chocolate-doom-0.1.3
in repository chocolate-doom.

commit ef65489cb6abe9cffbf20add190c5480dc8bbb05
Author: Simon Howard <fraggle at gmail.com>
Date:   Thu Nov 17 09:41:24 2005 +0000

    Catch SDL_QUIT event on ENDOOM display
    
    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 230
---
 src/i_system.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/i_system.c b/src/i_system.c
index 3914c79..7176f86 100644
--- a/src/i_system.c
+++ b/src/i_system.c
@@ -1,7 +1,7 @@
 // Emacs style mode select   -*- C++ -*- 
 //-----------------------------------------------------------------------------
 //
-// $Id: i_system.c 183 2005-10-09 20:19:21Z fraggle $
+// $Id: i_system.c 230 2005-11-17 09:41:24Z fraggle $
 //
 // Copyright(C) 1993-1996 Id Software, Inc.
 // Copyright(C) 2005 Simon Howard
@@ -22,6 +22,9 @@
 // 02111-1307, USA.
 //
 // $Log$
+// Revision 1.14  2005/11/17 09:41:24  fraggle
+// Catch SDL_QUIT event on ENDOOM display
+//
 // Revision 1.13  2005/10/09 20:19:21  fraggle
 // Handle blinking text in ENDOOM lumps properly.
 //
@@ -69,7 +72,7 @@
 //-----------------------------------------------------------------------------
 
 static const char
-rcsid[] = "$Id: i_system.c 183 2005-10-09 20:19:21Z fraggle $";
+rcsid[] = "$Id: i_system.c 230 2005-11-17 09:41:24Z fraggle $";
 
 
 #include <stdlib.h>
@@ -211,6 +214,7 @@ void I_Endoom(void)
 
         switch (ev.type)
         {
+            case SDL_QUIT:
             case SDL_MOUSEBUTTONDOWN:
             case SDL_KEYDOWN:
                 waiting = false;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/chocolate-doom.git



More information about the Pkg-games-commits mailing list