Merge branch 'fix-vertical-letter-offset-config'

This commit is contained in:
Daniel Eklöf 2021-03-02 09:22:59 +01:00
commit 55e3c74903
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 3 additions and 1 deletions

View file

@ -93,6 +93,7 @@
exiting shell (https://codeberg.org/dnkl/foot/issues/366).
* Default value of `-t,--term` in `--help` output when foot was built
without terminfo support.
* Fix `vertical-letter-offset` moving glyphs horizontally.
### Security
@ -100,6 +101,7 @@
* [craigbarnes](https://codeberg.org/craigbarnes)
* toast
* [l3mon4d3](https://codeberg.org/l3mon4d3)
## 1.6.4

View file

@ -708,7 +708,7 @@ parse_section_main(const char *key, const char *value, struct config *conf,
else if (strcmp(key, "vertical-letter-offset") == 0) {
if (!str_to_pt_or_px(
value, &conf->horizontal_letter_offset,
value, &conf->vertical_letter_offset,
conf, path, lineno, "default", "vertical-letter-offset"))
return false;
}