mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
config: scrollback: add missing return for ‘lines’
The missing return meant failures were not reported correctly.
This commit is contained in:
parent
c765d6722c
commit
8771bb20bf
1 changed files with 1 additions and 1 deletions
2
config.c
2
config.c
|
|
@ -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(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue