shithub: Nail

Download patch

ref: 08f307994bcfc1e6df93db072d621f570a757514
parent: d04a83c9a428290c40ecf86c4e7f3ac6c9155977
author: Ori Bernstein <ori@eigenstate.org>
date: Mon Nov 9 01:14:53 EST 2020

revert

--- a/mbox.c
+++ b/mbox.c
@@ -746,7 +746,7 @@
 			compose(a, nil, 0, 0);
 		else if(matchmesg(&mbox, ev->text))
 			mesgopen(ev->text, nil);
-		else if((ev->flags & 0x2) != 0)
+		else if((ev->flags & 0x2) == 0)
 			winreturn(&mbox, ev);
 		free(a);
 		break;
--- a/mesg.c
+++ b/mesg.c
@@ -410,7 +410,7 @@
 				compose(a, nil, 0, 0);
 			else if(matchmesg(m, ev.text))
 				mesgopen(ev.text, nil);
-			else if((ev.flags & 0x2) != 0)
+			else if((ev.flags & 0x2) == 0)
 				winreturn(m, &ev);
 			free(a);
 			break;