diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-11-15 18:22:06 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-11-15 18:22:06 +0000 |
| commit | b22322bfd104949b93d1df22ff36689747917448 (patch) | |
| tree | 3222e69507708983e216824cd0531dc34c8c5006 /config.c | |
| parent | Merge branch 'footclient-xdg-desktop' (diff) | |
config: letter-spacing: add missing ‘return’
The missing return caused us to fall through to the bottom of the
function, where we ended with an error message:
[main].letter-spacing: 0: not a valid option: letter-spacing
Closes #795
Diffstat (limited to 'config.c')
| -rw-r--r-- | config.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -956,7 +956,7 @@ parse_section_main(struct context *ctx) return value_to_pt_or_px(ctx, &conf->line_height); else if (strcmp(key, "letter-spacing") == 0) - value_to_pt_or_px(ctx, &conf->letter_spacing); + return value_to_pt_or_px(ctx, &conf->letter_spacing); else if (strcmp(key, "horizontal-letter-offset") == 0) return value_to_pt_or_px(ctx, &conf->horizontal_letter_offset); |
