config: scrollback: add missing return for ‘lines’

The missing return meant failures were not reported correctly.
This commit is contained in:
Daniel Eklöf 2021-12-25 23:48:05 +01:00
parent c765d6722c
commit 8771bb20bf
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -1081,7 +1081,7 @@ parse_section_scrollback(struct context *ctx)
const char *value = ctx->value; const char *value = ctx->value;
if (strcmp(key, "lines") == 0) if (strcmp(key, "lines") == 0)
value_to_uint32(ctx, 10, &conf->scrollback.lines); return value_to_uint32(ctx, 10, &conf->scrollback.lines);
else if (strcmp(key, "indicator-position") == 0) { else if (strcmp(key, "indicator-position") == 0) {
_Static_assert( _Static_assert(