config: fix key check for 'scrollback-indicator-style'

This commit is contained in:
Daniel Eklöf 2020-07-26 09:43:58 +02:00
parent 9edd71a741
commit be7d0a5615
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -291,7 +291,7 @@ parse_section_main(const char *key, const char *value, struct config *conf,
conf->scrollback.lines = lines;
}
else if (strcmp(key, "scrollback-indicator") == 0) {
else if (strcmp(key, "scrollback-indicator-style") == 0) {
if (strcmp(value, "none") == 0)
conf->scrollback.indicator.style = SCROLLBACK_INDICATOR_STYLE_NONE;
else if (strcmp(value, "fixed") == 0)