From 8d661163af5101bc0c020ded2f458c621fb3d8f0 Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Sun, 14 Apr 2024 19:39:31 -0700 Subject: [PATCH] Housekeeping --- src/modal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modal.c b/src/modal.c index 151b42a..eb90197 100644 --- a/src/modal.c +++ b/src/modal.c @@ -128,7 +128,7 @@ write_rule(Rule *r, char last, char *res) put_reg(*b++); else *dst_++ = c, last = c; - if(dst_ - origin == 0) + if(dst_ == origin) while(*res == ' ') res++; return commit_rule(r, res, 0); }