config: fix check for scrollback-indicator-format=percentage

This commit is contained in:
Daniel Eklöf 2020-07-28 19:57:26 +02:00
parent 2882fbb537
commit 47d9b947f0
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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) {