From 3d01efe11a4723167e7d58574e5e997c0ae853a9 Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Sat, 27 Apr 2024 11:05:50 -0700 Subject: [PATCH] Print right statement during undefinition --- src/modal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modal.c b/src/modal.c index c4413de..af90ee5 100644 --- a/src/modal.c +++ b/src/modal.c @@ -240,7 +240,7 @@ rewrite(void) while(*s == ' ') s++; cap = walk(s), r = find_rule(s, cap); if(!quiet && r->a) - printf(">< "), echo_rule(r, r->a), putc('\n', stdout); + printf(">< "), echo_rule(r, r->a), echo_rule(r, r->b), putc('\n', stdout); r->a = 0; while(*cap == ' ') cap++; return write_tail(cap);