diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2023-06-01 12:50:59 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-06-01 22:31:40 +0200 |
commit | edd4752268b266d697be51733599b708e4ae449a (patch) | |
tree | 550ee8be7fe5b6d9f82df1b70643f43f0587147c /.builds/openbsd.yml | |
parent | 5f5514d8742c803e5c0b701e3d6c053624687f70 (diff) | |
download | aerc-edd4752268b266d697be51733599b708e4ae449a.tar.gz |
config: fix multiple dynamic styles
When a user sets multiple dynamic styles, only the first one is applied.
The parsing function is modifying the matching pattern prior to saving
it to the style. When a second occurrence of the same dynamic style is
seen, the patterns don't match because we compare against the raw user
input instead of the modified pattern value. Store the raw user input as
the pattern instead of our modified regex.
Fixes: 2f46f64b0b0b ("styleset: allow dynamic msglist styling")
Reported-by: Drew Devault <sir@cmpwn.com>
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Tested-by: Drew Devault <sir@cmpwn.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to '.builds/openbsd.yml')
0 files changed, 0 insertions, 0 deletions