shithub: qk1

Download patch

ref: a4c481713877e422e186d66c9038154b53bb6199
parent: 938b01600ead52d3cbe352846c98d9896bd6a52e
author: qwx <qwx@sciops.net>
date: Tue Aug 10 03:04:03 EDT 2021

note handling, from qk2

--- a/qk1.c
+++ b/qk1.c
@@ -100,8 +100,10 @@
 static void
 croak(void *, char *note)
 {
-	if(strncmp(note, "sys:", 4) == 0)
+	if(strncmp(note, "sys:", 4) == 0){
 		IN_Grabm(0);
+		threadkillgrp(0);
+	}
 	noted(NDFLT);
 }
 
--- a/qw/qwcl.c
+++ b/qw/qwcl.c
@@ -19,8 +19,10 @@
 static void
 croak(void *, char *note)
 {
-	if(!strncmp(note, "sys:", 4))
+	if(strncmp(note, "sys:", 4) == 0){
 		IN_Grabm(0);
+		threadkillgrp(0);
+	}
 	noted(NDFLT);
 }