ref: 11b4f9111ac511b4670f6303934f0cd41695e0c9
parent: 39706c5e3e49fe0594fb330cfecdffc35a70e0c3
author: Ori Bernstein <ori@eigenstate.org>
date: Thu Nov 26 17:04:58 EST 2020
mbox: fix %[ formatting (thanks phil9)
--- a/mbox.c
+++ b/mbox.c
@@ -544,6 +544,7 @@
printw(bp, m->replyto, width);
break;
case '[':
+ p++;
if((e = strchr(p, ']')) == nil)
sysfatal("missing closing '}' in %%{");
if(e - p >= sizeof(buf) - 1)