From 8771bb20bf35bab7cd94f408b44dcee7a8d479d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sat, 25 Dec 2021 23:48:05 +0100 Subject: [PATCH] =?UTF-8?q?config:=20scrollback:=20add=20missing=20return?= =?UTF-8?q?=20for=20=E2=80=98lines=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The missing return meant failures were not reported correctly. --- config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.c b/config.c index 22245fa6..701502f3 100644 --- a/config.c +++ b/config.c @@ -1081,7 +1081,7 @@ parse_section_scrollback(struct context *ctx) const char *value = ctx->value; 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) { _Static_assert(