mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
config: fix check for scrollback-indicator-format=percentage
This commit is contained in:
parent
2882fbb537
commit
47d9b947f0
1 changed files with 1 additions and 1 deletions
2
config.c
2
config.c
|
|
@ -307,7 +307,7 @@ parse_section_main(const char *key, const char *value, struct config *conf,
|
|||
}
|
||||
|
||||
else if (strcmp(key, "scrollback-indicator-format") == 0) {
|
||||
if (strcmp(value, "percent") == 0) {
|
||||
if (strcmp(value, "percentage") == 0) {
|
||||
conf->scrollback.indicator.format
|
||||
= SCROLLBACK_INDICATOR_FORMAT_PERCENTAGE;
|
||||
} else if (strcmp(value, "line") == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue