Use correct option name.

This commit is contained in:
nicm 2022-09-10 17:01:33 +00:00
parent f03c3ca6c3
commit 9ab1ba36cd

View File

@ -271,7 +271,7 @@ status_prompt_line_at(struct client *c)
if (c->flags & (CLIENT_STATUSOFF|CLIENT_CONTROL))
return (1);
return (options_get_number(s->options, "status-prompt-line"));
return (options_get_number(s->options, "message-line"));
}
/* Get window at window list position. */