summaryrefslogtreecommitdiffstats
path: root/src/optionstr.c
diff options
context:
space:
mode:
authorYegappan Lakshmanan <yegappan@yahoo.com>2023-02-11 11:15:25 +0000
committerBram Moolenaar <Bram@vim.org>2023-02-11 11:15:25 +0000
commit3ec78f973fdaec2cea8e036ed38037b2fe40670b (patch)
tree1c2f85b5d0b762bbd0e8f943017e0a2e1c240aae /src/optionstr.c
parent412e0e4ed903682f352d8ea58ded480930cc664f (diff)
patch 9.0.1300: 'statusline' only supports one "%=" itemv9.0.1300
Problem: 'statusline' only supports one "%=" item. Solution: Add support for multiple "%=" items. (TJ DeVries, Yegappan Lakshmanan, closes #11970, closes #11965)
Diffstat (limited to 'src/optionstr.c')
-rw-r--r--src/optionstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/optionstr.c b/src/optionstr.c
index d218d5662b..7dfb7b7ff5 100644
--- a/src/optionstr.c
+++ b/src/optionstr.c
@@ -587,7 +587,7 @@ check_stl_option(char_u *s)
if (!*s)
break;
s++;
- if (*s == '%' || *s == STL_TRUNCMARK || *s == STL_MIDDLEMARK)
+ if (*s == '%' || *s == STL_TRUNCMARK || *s == STL_SEPARATE)
{
s++;
continue;