shithub: Nail

Download patch

ref: 973682f67d3b4f2489eb8cd31cb4fd5c19b0df9c
parent: f65eb2dedb725585386b17e3f576a37f6854f32f
author: Ori Bernstein <[email protected]>
date: Fri Nov 6 15:56:31 EST 2020

only expand messages when we're in the body

--- a/win.c
+++ b/win.c
@@ -268,7 +268,7 @@
 	char *s;
 	int q0, q1, ns;
 
-	if(e->q0 != e->q1)
+	if(e->type != 'L' || e->q0 != e->q1)
 		return nil;
 
 	q0 = wineval(w, "#%d-%s", e->q0, delim);