From acb655ad10a5aa8c9b585568649cf943edf6c1e8 Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Tue, 16 Apr 2024 12:24:57 -0700 Subject: [PATCH] Use character in variable --- src/modal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modal.c b/src/modal.c index 63da5a8..fd54d02 100644 --- a/src/modal.c +++ b/src/modal.c @@ -95,7 +95,7 @@ match_rule(Rule *r, char *p) a++, b = walk(b); continue; } - if(*a != *b) return NULL; + if(c != *b) return NULL; a++, b++, last = c; } c = *b;